# All Questions

26 views

### add " for all member of the last (1 and -1 positions)

I have a small problem with a list. I did, that list={AA,BB,CC} and I wish to make it into the form of {"AA","BB","CC"}, but I cant insert ", because failing, I tried simply adding, or MapThreading, ...
65 views

### Solution of Inverse parametric implicit functions [closed]

Using NDSolve I solved for functions $G={x,y,u,v}$ that are functions of $t$ \begin{eqnarray} y'(t) &=& f(x) \\ x'(t) &=& g(y) \\ u'(t) ...
51 views

### Extract coefficients from trigonometric polynomial [on hold]

Suppose I have: f[r_, ϕ_] = C1 Cos[ϕ]r + C3 Sin[3 ϕ] r + C4 Sin[4 ϕ] r^4; How do I extract the coefficient of a chosen trigonometric term, let's say ...
108 views

### Plotting solutions of systems in complex plane

I'm interested in plotting solutions of systems of polynomials in the complex plane, in the following way. Let $f_1,\ldots f_s$ be complex polynomials in variables $x_1,\ldots x_n$. I know how to ...
50 views

### Count and NMinimize don't seem to work together

Initially I write down a 2x2 unitary (Uni) , make a tensor product 4 times (LocalUni) and apply it to an initial numerical matrix Rho, to obtain RhoLU, that depends on 12 parameters. This is my code: ...
74 views

### Infinite sum not evaluated unless split into even and odd terms

This sum s = Sum[Gamma[k/2]/(2 k!), {k, 1, ∞}] $\sum _{k=1}^{\infty } \frac{\Gamma \left(\frac{k}{2}\right)}{2 k!}$ is returned unevaluated (version 10.1.0). ...
64 views

### Finding terms of the perturbation solution

I've got a task to find first three terms of the perturbation series solution to: $$y' = 1 +(1+\epsilon)y^2,\quad y(0)=1, \quad t > 0,$$ for a small $\epsilon$. I am supposed to use Mathematica ...
32 views

### Use LibraryLink with Intel compiler

I'm trying to use LibraryLink with the Intel compiler in order to use Fortran code for this problem, but I failed at the very first step. I've taken a frist example ...
123 views

### Can I label a Manipulate panel?

I wasn't able to find a way to label a Manipulate panel (not the sliders, etc.). Is it indeed not (directly) possible?
246 views

### Add semicolon at the end of code line programmatically

Suppose we have several lines of code in a cell: a b; Module[{}, c d] e How can we wrap them in a CompoundExpression i.e. ...
41 views

### Misunderstanding of Replace code

I am looking for the right way to replace $\delta \, \, \text{by} \, \, 0.05 \, \, \, \beta \, \, \, \text{by} \, \, \, 1.77 \, \, \, \text{and} \, \, \, n \, \, \, \text{by} \, \, \, 12$ in this ...
947 views

### Better code to find Narcissistic number

My code finding Narcissistic numbers is not that slow, but it's not in functional style and lacks flexibility: if $n \neq 7$, I have to rewrite my code. Could you give some good advice? ...
57 views

### How to solve a linear system inside Manipulate and use the result for Plot?

I typed a code for showing a plane and a line, and solve a system, but I can´t show the intersection, because I don´t know. Here is a minimal working example for understanding my problem ( the real ...
53 views

### Newton's method for non linear systems [on hold]

I've just started yesterday learning Mathematica and I'm having some trouble implementing Newton's method to solve non linear systems. I've found this code on a college web page but I'm not sure if ...
63 views

### How to write an expression in the desired form?

I have the following code: ...
49 views

### Limit functionality in WildCats

Does the latest version of the WildCats (diagrammatic Category Theory) package support the calculation of limits (the associated tutorial section is empty)? If so, can anyone point me to a simple ...
20 views

### Dynamic Epicycles [duplicate]

The following code is meant to produce a dynamic graphic of epicycles. (I'm having A LOT of trouble copying my code into this editor so that it can be copied back to Mathematica and run, please let me ...
4 views

### meaning of permutation raised to a power, another permutation [migrated]

Unable to find any reference on the meaning of pi^psi, where pi and psi are two permutations of the set {1,2,3, ...,n}. E.g, (1,2,3,5,4)^(2,3,5) Incidentally the package GAP provides this operation, ...
55 views

### List of points of an increasing sine function

I'm trying to obtain a list of the points of an amplitude-increasing sine function. I would like to give a certain value for input, e.g. 0.5. Sine will start increasing and decreasing from this point, ...
74 views

### Finding matrix given null space

Suppose I input a very large $n$ integer vectors and I wish to compute the matrix whose nullspace is spanned uniquely by these vectors. Is there an appropriate command/module to do this using ...
17 views

### uniformly continous [on hold]

If f is uniformly continuous on (0,1), can f be extended to [0,1] in such a way as to be right continuous at 0 and left continuous at 1 ? Justify your answer. I was trying to give a counterexample ...
62 views

The Mathematica documentation center provides an example of how to add noise to a process: White Noise Process. ...
118 views

### Finite element boundary breaking

I am trying to model a cantilever beam which can vibrate. On the left the beam is clamped. I am largely following user21 here and also the example in help. I start by doing a static beam which works ...
53 views

### How can I dynamically display a stream position?

If I create a stream, str = StringToStream["how can I dynamically display the stream position"]; Read[str, Word] "how" then, when I use, ...
54 views

### Change position and orientation of 3D object

I was trying to understand how 3D objects work in Mathematica, but I run into a problem I am not able to solve by myself. I have the following 3D plot: ...
84 views

### How to convert date string with fractional seconds to DateObject

I have a date/time string from a data file in the form "2014/01/09 07:24:36:001". I would like to convert it to a DateObject. I ...
49 views

### How to draw a distribution plot (dotplot?) like this in mathematica? [duplicate]

I believe I've seen this answered already here in Stack Exchange but I could not find it again, so here I am asking, hoping that someone knows this other post I am referring to. Here are examples of ...
40 views

### Problem with solving set of nonlinear 2nd order ODEs with NDSolve [on hold]

I'm trying to solve a set of 5 nonlinear ODEs with NDSolve, 3 of them are second order, and I defined all the initial conditions, but when I evaluate the cell, I get no errors and at the same time no ...
34 views

### Where can I find documentation on use of special characters in templates?

I am new to Templates. I have seen the usage "\!\(\*StyleBox ...)" as here: disabling templates What does the string "!(*" accomplish and can I find some ...
84 views

### Tell if a point is inside a FilledCurve

Convert a letter into a FilledCurve: ...
36 views

### PLOT doesn't show. Not sure what part of my function is not understood [on hold]

Clear["Global'*"] ClearAll[f, j, p, s] p[j_, f_] = (2*j + 1)*exp^((-j (j + 1))/f) s[p_] = Sum[p[j, f], {j, 0, 20}, {f, .001, 5}] Plot[s[p], {f, .001, 5}]
727 views

### Line by line code development

One main advantage of Mathematica over several other languages, at least in my view, is that you can create your code line by line. This makes much easier to debug your code during the development ...
24 views

### Can't get Mathematica to Import PDF files with diacritics on the file name

Tested with versions 9.0.0, 10.0.2 and 10.3.0, all under OS X 10.10.5. The drag-and-drop ...
173 views

### Differences between FFT and analytical Fourier Transform

In MATLAB, if I perform an FFT on a simple Gaussian spot with a phase grating: ...
67 views

### Series around a point

I have the function Vt ...
34 views

### optional arguments in graphic function [on hold]

I hope there is not a maximum number of questions per day:-)! As I told the goal is to upgrade this but instead of making a post with many questions, I split in into several "sub-questions". So, in ...
58 views

### FDTD Electromagnetic Simulations with Mathematica

Mathematica has some Finite Element capabilities (as explained here). Do you think mathematica is a realistic/sensible option for electromagnetic simulations? (aka making a movie of electric fields ...
109 views

### Apply tranformation to particular list elements

I have a list with elements {a -> -1, b -> -2, c -> -3} If I now wanted to apply a tranformation to b and ...
51 views

### PlotRange problem [on hold]

When I plot a list (20 points) using ListPlot, the plot always begins at 1 and not 30 as my PlotRange indicates. ...
41 views

### combine two definitions into one [on hold]

Suppose I have two definitions of a function such as ...
57 views

### Fitting in Mathematica: Which function? [on hold]

in other programs, there is a possibility to take a data set and to find the function which fits best. Is there also such a possibility in Mathematica? I only could find ...
50 views

### Creating authomatically inequalities/equations from a list of polynomials

I am trying to learn how to make automatically from a list of polynomials (or an arbitrary collection of algebraic expression) a list of inequalities/equalities (those will later serve as constraints ...
9k views

### Plotting Error Bars on a Log Scale

I have a plot with ErrorListPlot ...
48 views

### How to merge 2 columnar matrices into a row matrix? [duplicate]

if i have two columnar matrices A,B . then how can i merge both matrices into a row matrix. ...
50 views

### List addition of certain elements

I have a list f, y={{a},{b},{c},{d},{e},{f},{g},{h}...} I want to sum the first 3 in this list and divide that value by 3 and append to a new list. Then repeat ...
40 views

### Wolfram Demonstrations Project [on hold]

Where can I find the entire list of Projects on Wolfram Demonstrations Project without having to browse topic wise? There is a list of projects listed one after the other (example cart with pendulum, ...
38 views

### Medium-sized graph won't build

Why can't Mathematica import a 40-KB file (mediumEWD.txt) and build the underlying graph in some decent time? I waited a minute, nothing. ...
40 views

### modifying graphics3D objects after their creation

Suppose I want to demnstrate two ellispoids; one with the center at the origin and the other translated. After the advice I got in the last question I use ...
In mathematics, a given operation $\circ$ is said to be associative if there is equality $$(f\circ g)\circ h=f\circ(g\circ h)$$ for any $f$, $g$ and $h$. Intuitively, this means ...