-1
votes
0answers
69 views

Plot a function with three parameters subject to conditions

I have no idea how to plot function with parameters/conditions. Can someone give me tip how to do it? $$ \left(\sqrt{-\sqrt{-x \left(b^2-c^2\right) \left(-a^2+4 a+b^2-c^2-3\right)+(-\text{ac}+b+2 ...
2
votes
0answers
43 views

Lyapunov Exponent as a function of parameter

I am working at Rossler system and I would like to ask you for some help. This system is described by equations: \begin{array}{ll} \dot{x} = -y - z \\ \dot{y} = x + 0.2y \\ \label{eq:UkladRosSP} ...
12
votes
3answers
110 views

Internal DynamicModule steals scope of external DynamicModule

I have two dynamic objects, one nested in the other. Both have their own functions defined, as follows. I have simplified them to the point where they don't make much sense, but can still illustrate ...
1
vote
1answer
37 views

How to solve an iterative integral equation for a function in Mathematica 8.0?

I would like to solve the following iterative integral equation in order to find the functional form of $P_{0}(k)$ numerically and then use it subsequently for the rest of my code: ...
-1
votes
1answer
60 views

How to correctly calculate symbolic eigenvectors

I give a minimalistic example of my problem: I have a matrix: m[a_,b_]:={{0,-a+b},{b,0}}; I define the eigenvectors as: ...
2
votes
2answers
38 views

Dynamic stops when shorten section

When I shorten the sections so I can get the input (slider bar) and out put on the page, Dynamic no longer works. Dynamic only ...
7
votes
1answer
170 views

How to define a custom 2/3D graphic primitive like built-in?

There are lots of basic graphic-pimitive in Mathematica, such as 2D- pimitive: Line[], Circle[], Disk[] and 3D-pimitive: ...
-3
votes
1answer
44 views

2 functions in a package for CDF, 1 is OK 2nd is not working [on hold]

I am developing a CDF application to teach me how to create CDF files. In this application I am taking numeric and symbolic integral of a function. I create package with two functions; 1-taking the ...
32
votes
0answers
796 views

Input Aliases in Mathematica 10

Bug introduced in 10.0.0 and persisting through 10.4 or later In Mathematica 9, typing in an input alias such as intt would result in the keyboard cursor ...
0
votes
0answers
29 views

Logarithmic scale for parametric plot [duplicate]

I would like to introduce a logarithmic scale for the following parametric plot ...
1
vote
0answers
69 views

Mathematica 5-6 Oriented Graphs code in Mathematica 10?

I want to plot the 34 pieces of connected oriented graphs where the code in Mathematica 5-6. I have Mathematica 10, student version. I get errors 1, 2 and 3. Aspiring chat here. When I don't load ...
0
votes
0answers
40 views

Solve heat equation with not constant coefficients and Neumann B.C

I am trying to solve heat equation with not constant coefficients and Neumann BC. this is the equations: $$ (k/r)(∂/∂r (r(∂T/∂r))=ρc_p(T) ( ∂T/∂t) $$ initial condition: $$T(t=0)=20$$ boundaries ...
3
votes
1answer
61 views

ITO Process with random initial position

I am trying to define an ITO process with random initial state but its only drawing once an uses it for all paths. Here is the code: ...
2
votes
1answer
56 views

Coloring (Temperature) surface of parametric 3D plot

I am stuck on figuring out how to do a "Temperature" Color scheme for a surface plotted using ParametricPlot3D. As an example, here is a plot of one example surface. This is a antenna gain plot of ...
0
votes
0answers
13 views
11
votes
2answers
152 views

How to correctly implement in a new function the scoping behavior of Table, Sum and other commands that use Block to localize iterators?

It is documented that "Block is automatically used to localize values of iterators in iteration constructs such as Do, Sum, and Table." Therefore the dummy index (iterator) in a Sum is shielded ...
1
vote
1answer
38 views

How to get coordinates from GeometricTransform?

I'm trying to get the exact coordinates of the resulting points from my transform: ...
3
votes
1answer
47 views

Constructing tensors with arbitrary rank and dimension

How can I create a tensor with arbitrary rank n and m components in each dimension? I am looking for a command in which I insert n and m and it spits out the corresponding tensor with random entries ...
2
votes
1answer
56 views
0
votes
1answer
62 views

How to merge two plots in Mathematica 8.0 in a column and then save the figure as a single pdf file?

I have defined two plots and then want to merge them into one so that I can save the figure as a pdf file into my computer. Here is MWE where I would like to merge two plots into one: ...
1
vote
1answer
103 views

Undershoot/Overshoot Method for this differential equation?

I have tried to solve this equation for some weeks and I am not capable. I have read in articles that it is easy with an undershoot/overshoot method, but I don't know how to do it. ...
-1
votes
0answers
44 views

Defining arbitrary Lagrangian

I'm trying to compute some general questions to a given Lagrangian. The idea is that I need to compute: $\qquad L = \sqrt{det(g)}$ With $g_{\alpha \beta} = G_{MN} \partial_\alpha X^M \partial_\beta ...
0
votes
1answer
38 views
3
votes
1answer
78 views

Interval arithmetic for DawsonF (or other special functions)

I am currently trying to estimate a complicated expression involving DawsonF using interval arithmetic. The interval arithmetic is partially supported by ...
1
vote
0answers
73 views

Creating package and encoding for CDF and Path for Mathematica

I am working on learning Enterprise CDF development. I developed a simple example. I am working with packages for I can encode my codes eventually. When I use Needs command and save the package in one ...
1
vote
1answer
38 views

Importing an .eps file failed in the latest version of mathematica

It was quite straight forward to import an .eps file (also pdf and other formats) into a script, with the version 10.0. that I had before; but, since I upgraded my Mathematica to the latest version ...
9
votes
1answer
98 views

Symbolic and numeric limit disagreeing on branch cut of ArcTan

Bug introduced after v8.0.4 and before v9.0.1, and persisting through v10.4.1. Investigating comments to my previous question lead me to the following problem: ...
0
votes
1answer
44 views

How to Write a code to automatically generate the planckian locus in (u,v) space [duplicate]

in the CIE XYZ color space the three coordinates defining an electromagnetic spectrum are given by XT=∫x( λ ) M( λ , T )dλ, YT=∫y( λ ) M( λ ,T ...
0
votes
2answers
82 views

Stiff second order ODE

I am trying to solve numericaly $f''=f^{3}-f$, exact solution is Tanh(x). Problem is numerical solution fails if i coming closer to tanh plateau. StiffnessSwitching method dont help. ...
1
vote
0answers
60 views

Power Spectral Density Plotting

I am new to signal processing.I am analyzing the connection between the behavior of the Rossler model and its parameter c. \begin{array}{ll} \dot{x} = -y - z \\ \dot{y} = x + 0.2y \\ ...
39
votes
1answer
1k views

Local variables in Module leak into the Global context

From the Mathematica documentation on Module: Module allows you to set up local variables with names that are local to the module. But after using ...
0
votes
0answers
5 views

How to insert figure from my pc to Mathematica SE [migrated]

How to upload figure from my pc to Mathematica SE ? On Mathematica SE editor there is a panel called figure, put it describes how to upload figure from a website .. So any help
18
votes
2answers
763 views

Determine whether points lie within a cow

I would like to determine whether randomly-generated points ...
11
votes
1answer
1k views

Manipulate (Linux version of Mathematica)

I'm runnning Mathematica 9 on Ubuntu 11.10. After installing CDF player I still have problem (most of time) with Manipulate. Only way I'm able to change value of a ...
3
votes
2answers
44 views

PlotStyle with nested list

Simple Question from a Stumped Rookie: Using ListPlot, I can't get PlotStyle to look below the first level of a nested list to assign individual saturation values for each point; it assigns the ...
9
votes
2answers
363 views

Any packages for vertex enumeration on Mathematica?

My work requires me to enumerate all vertices of a polytope defined by linear inequalities from time to time. And I'm mainly working with _Mathematica 9.0 on Mac OS X 10.9. So I wonder are there any ...
7
votes
2answers
86 views

TimeSeries interpolation with time gap awareness

Is there an option for ResamplingMethod (or any other practical way) for specifying different behaviours of the interpolation, depending on, for instance, closest dates (on the ...
4
votes
1answer
88 views

How to use the built-in function GraphElementData

Very surprise to me.I found this is a built-in function but it is undocumented.Such as this answer's "CurvedArc" and ...
-5
votes
1answer
39 views

Calculating the top left corner in a 2d field [on hold]

Given I have a field with several rectangles like shown in the picture. A point with its x and y coordinates are given. The height(h) and the width(w) are also given. How can I calculate the top ...
9
votes
1answer
152 views

Wrong limit: Limit[(1 + (-1)^n/n)^n, n -> Infinity]=1 (Mathematica 10.4 and W-Alpha)

Since $(1-\frac{1}{n})^n\to 1/e$ and $(1+1/n)^n\to e$, the sequence $(1+\frac{(-1)^n}{n})^n$ has no limit as $n\to\infty$, but has limits for odds and even numbers. If $n$ were taken to be real, there ...
68
votes
2answers
14k views

Mathematica 10.0.x freezes in Initializing kernels

Bug caused by paclet update and fixed by paclet update. I updated to Windows 10 and have been running Mathematica fine on it for over a month. For some reason, it has just stopped working. I don't ...
0
votes
0answers
47 views

Functions with indexed variables [on hold]

This Solve[{A/x - l p == 0, A/y - l q == 0, x p + y q == R}, {x, y, l}] but I wonder if it is possible to replace $x$ by $x_1$, $y$ by $x_2$, $p$ by $p_1$ et $q$ ...
1
vote
0answers
36 views

diophantine linear equation with condition on the sum of coefficients

I am trying to solve the following diophantine equation x*a + y*b == c where a,b,c are integers and the absolute value of their sums is, for instance, 4. Then I ...
3
votes
1answer
45 views

Plotting the complement of a graph without changing the name of the vertices

I have a graph in the form {Dog -> Apple, Apple -> Screwdriver}, I used to plot a graph in the following way: ...
8
votes
1answer
104 views

Integrate and NIntegrate disagreeing over branch cut of Sqrt?

Bug introduced after v8.0.4 and before v9.0.1, and persisting through v10.4.1. In Mathematica 10.2 I'm trying to integrate this piecewise continuous function, but ...
0
votes
1answer
49 views

How to force a Range on Fit?

I have 1001 points between {x,-5, 5}. I wanted to fit a polynomial over the data but when i try: Fit[Flatten[data], {0, x, x^2, x^4, x^5, x^6}, x] ... the range ...
15
votes
1answer
348 views
4
votes
2answers
66 views

Why does `Repeated` not work in this case?

I think I don't understand how to use Repeated. I have a list for example list={a,b,a,b,a,b,a,a,b} I want to detect whether ...
3
votes
2answers
123 views

Interesting “Tuples” application

I want to start with: {a,b},{c,d},{e,f} and end up with: {a,c,e},{a,c,f},{a,d,e},{a,d,f},{b,c,e},{b,c,f},{b,d,e},{b,d,f} ...

15 30 50 per page