# All Questions

48 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 ...
31 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 ...
21 views

### How to change equation when singularity happens with NDSolve?

I'm using Euler angle with NDSolve to simulate the precession of the symmetric top. But there's a problem when it comes to singularity, so I need to change to ...
14 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: ...
6k views

...
37 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 ...
58 views

43 views

### Catch parameter order and error using functional form

Question: Why does this fail? In:= (Catch[#] &)[Throw[17]] ...
36 views

### Selecting elements from a list with nulls

I have this list ...
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 ...
72 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 ...
31 views

### 2 functions in a package for CDF, 1 is OK 2nd is not working

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 ...
37 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 ...
89 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: ...
38 views

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

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 ...
77 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. ...
52 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 \\ ...
36 views

### How to overload the operator “*” as KroneckerProduct

Can I use the expression below a * b * c * d for short to instead KroneckerProduct[a,b,c,d] automatically when a,b,c,d are ...
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 ...
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
737 views

### Determine whether points lie within a cow

I would like to determine whether randomly-generated points ...
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 ...
38 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 ...
361 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 ...
90 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 ...
85 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 ...
87 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 ...
38 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 ...
148 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 ...
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 ...
45 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$ ...
35 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 ...
42 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: ...
103 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 ...
47 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 ...
348 views

### How to obtain transparent animated gif via Export?

I have the following code to create animated GIFs: ...