All Questions

0answers
17 views

Programmatically control notebook resize area

How might I programmatically control the notebook resize area? In particular, I want to be able to execute "Restore Down" when the window is maximized.
2answers
274 views

How to simplify the integration result of the following program?

In the following program, the fec[x] is a function depending on $x$ while q3[t] and q5[t] ...
3answers
1k views

how to simplify symbolic integration

The following is the code: ...
0answers
76 views

Can Mathematica solve 625 linear coupled differential equations?

I'm trying to solve an atomic physics problem in which I need to solve 625 linear coupled differential equations. I generated them by using the AtomicDensityMatrix Package. They are Liouville ...
1answer
76 views

Turning sound into a graph

I'm writing a comprehensive text on graphs and Mathematica and in this context I have this, let's call it, creative gap between sound and graphs. There are plenty of ways one can create graphs from ...
2answers
167 views

Why does a certain CSV file import properly into LibreOffice but not into Mathematica 10.0?

I'm working on a project involving data manipulation and it involves working with CSV files. I know that the files are properly formatted as when I import them into LibreOffice, all of the columns ...
0answers
35 views

Overlay 3d plots in Manipulate [on hold]

I want to find parameters of the fitting of data by overlapping the data with my model function. To find the parameters I'm using Manipulate function. And to make sure that the fitting is close to the ...
1answer
51 views

Why does WordData fail to find “PartsOfSpeech” when given a list of two words?

I have the following sample code. StringSplit["a test string", " "] Thread[WordData[%, "PartsOfSpeech"]] The output I get is: ...
1answer
265 views

solve a stochastic partial differential equation [on hold]

Every example about solving a stochastic differential equation uses an ordinary differential equation (derivatives with respect to one variable), but ¿what about solving this when de function depends ...
0answers
26 views

SocialMediaData[“Twitter”]: no output

I decided to give the SocialMediaData functionality of MMA10 a try but it does not seem to work for Twitter. The first time I call ...
1answer
65 views

How to solve two non-linear equations in two variables [on hold]

I am a new user of Mathematica. I have the following non-linear equations in two variables: How can I solve this system with Mathematica?
1answer
123 views

Fitting numerical model to experimental data

I have diffusion equation with the initial/boundary conditions: ...
3answers
138 views

Plot a one-dimensional list of numbers as a column/row of labeled colored squares

I have a list of numbers and a matching list of labels. I want to plot a column of colored squares, with the color of each square matching (in some color scale) the value of the corresponding number. ...
1answer
96 views

How determine The most possibility probable with programming

i have a scatter chart of probable of happen some thing like below chart link of google chart i what determine the probable The most point in below chart , can use a mathematic method to determine ...
1answer
76 views

How to put the tensor product of two operators onto two variables?

I am trying to make an intuitive Mathemtaica program to show the principle of quantum walking. The idea of quantum walking is very simple and direct, but when I try to transfer it into Mathemitca ...
1answer
61 views

How to implement something like NMaximize[ NMinimize [ f(x,y) , {x} ], {y} ]?

Title says it all, really. I want to find some set of values for which a function of those values can't be made larger than a certain number, when some other values (on which that function is also ...
4answers
110 views

Passing a variable messages list to Quiet

I'm trying to build a Verbose option into some code but I'm having trouble passing to a Quiet statement a variable list of which messages I want to suppress. My ...
2answers
296 views

A topoplot function for Mathematica

Matlab's EEGlab toolbox has a topoplot function: http://sccn.ucsd.edu/eeglab/ A typical topographical plot of an EEG signal is given below: How can I reproduce this in Mathematica. I know that ...
0answers
33 views

“There are no symbols matching \”\!$$\“Global*\”$$\“” [on hold]

"There are no symbols matching \"!(\"Global*\")\"" what's the probleme with this error and how to solve it?
2answers
204 views

How to create a stacked-alphabet image efficiently?

By adopting the answers from Mr. Wizard to my previous question, I tried to create a stacked-alphabet image from a person's portrait, the alphabets were taken from the name of the portrait subject. ...
0answers
29 views

Is “MaxMessageCount” broken or is its function counter-intuitive?

As noted by kguler the Front End option: MessageOptions -> "MaxMessageCount" does not appear to have any affect on the number of times a Message is repeated ...
3answers
82 views

When exporting text, how can I set the line separator?

I want to export a string for a bash script. The terminal is naturally very picky when it comes down to the "\n\r" vs "\n", Windows vs. Linux, new line issue. How can I teach Mathematica to use "\n" ...
0answers
40 views

How to deal with matrices involved in system of SDEs?

This question is in continuation of the the previous posts Solving Stochastic differential equation and Fast Simulations with Compile. What I want to do is numerically solving the epidemic model which ...
1answer
65 views

Animating a 2D Plot as a 3D Plot

This is a follow up question to the original question: Original Question The accepted solution (provided by @Mark McClure) can also be found in the original question. It is as follows. ...
1answer
142 views

Numerical Integration with Variable Parameters

So I want to numerically compute the integral of a long complicated expression over a specified domain (in this case an ellipse). I know how to use a Boole function to sample within the ellipse, but I ...
0answers
66 views

After editing a file Mathematica 10 interprets […]^2 as […(])^2

This is a very weird bug and I don't really know how to reproduce it, so I'll just copy-paste the whole code ...
0answers
23 views

Disable alert message with internet connectivity off

I work in an environment that has mathematica's internet connectivity turned off under Help > Internet Connectivity. Recently, after installing mathematica 10.0, every time mathematica is loaded it ...
1answer
60 views

When I enter ...
1answer
102 views

Plotting a Partially Filled Ellipse

I would like to plot a partially filled/shaded ellipse. The code below shades the whole ellipse. However, I only want to shade the part of the ellipse to the right of the vertical line where x > ...
0answers
24 views

What are the upper bound and stability conditions for the following simple linear system [migrated]

Consider the following linear system $$\dot{x}=\sum\limits_{i=1}^{m}{{{\alpha }_{i}}}\left( t \right)\cdot {{A}_{i}}\cdot x \quad (1)$$ where, $x\in {{\mathbb{R}}^{n}}$ represents the state vector, ...
1answer
86 views

Finding a root of a parameterized integral

I have a function given as a parameterized definite integral: f[a_] := Integrate[BesselJ[0, x - a] BesselJ[0, x + a], {x, -∞, ∞}] I suspect it has a root near ...
5answers
309 views

Splitting strings at lower case characters and numbers

I'm trying to split the strings of chemicals into their elements and numbers. See this example "Fe3O4" will be split into ...
1answer
50 views

How to convert a sparsearray to a graph?

s = Import["hello.mat"]; t = GraphEmbedding[Graph[s[[1]]], "GridEmbedding"]; I get the following error: GraphEmbedding::graph: A graph object is expected ...
1answer
182 views

Converting structured data to a dataset

A Dataset seems perfect to represent structured data. Has anyone already thought about how to convert as efficiently/elegantly as possible an XML or JSON file to a Dataset in Mathematica 10 ?
1answer
170 views

Plotting a region with polar axes

I want to plot the region of points who satisfy the following equation: 2 < r <= 5 && 3/4 π < θ <= 5/4 π I have been able to plot region in ...
1answer
36 views

Speeding up ReplaceRepeated while truncating to desired order

I need to program in an algorithm that recursively makes algebraic replacements which leads to an utterly complicated algebraic function of $x$, but whose final result is only needed at fixed order in ...
0answers
45 views

Bug when using Plot3D over an ImplicitRegion?

Evaluating this expression seems to cause Mathematica to beep and quit the kernel: ...
1answer
114 views

Use URLFetch in init.m

I'm not able to use URLFetch in my \$UserBaseDirectory/Kernel/Init.m as it always returns ...
0answers
41 views

Need help solving integral [closed]

Can you please provide a step by step solution for next integral. I don''t have any idea of hoe this can be solved Integrate(e^x^2)
1answer
76 views

Problem with integral equations

I have solved an integral equation with the following methods: ...
1answer
148 views

File-name completion for custom functions

Mathematica 10 has introduces file name completion. It works only with certain built-in functions such as Import, SetDirectory, ...
3answers
624 views

How do you programatically load data into symbols?

I am trying to convert a list of string names into symbols, which will then be used to store data. I have 24 files (where the name of each file is a member of the list mentioned above) that I need to ...
3answers
983 views

How can I connect to a remote machine?

My friend and I are trying to set up remote kernels. He has a server at home running 1 kernel off of a Linux-based server. We're both on 8.0. I manually set ...
0answers
39 views

Purpose of construct With[{var=myComputation[…]}, var/;True]? [duplicate]

Could someone please give an illustrative example showing the purpose of construct of form With[{var=myComputation[...]}, var/;True]? Also, I wonder what kind of ...
2answers
74 views

Change dataset key name

Using the example in the documentation, how would I make a new dataset with the key "b" changed to key "h". ...
3answers
267 views

DSolve not finding solution I expected

Try to solve the following ODE via DSolve \left\{\begin{aligned} y'(x)+2 y(x) e^x-y(x)^2 &= e^{2 x}+e^x \\ y'(0) &=1 \end{aligned}\right. The ...
0answers
51 views

How to get Symbol[“x”]=3 to work [duplicate]

This is probably a really simple one, but I'm stumped. I want Symbol["x"]=3 to work just like x=3. However I can't figure out ...
0answers
28 views

Data paste in piecewise table

How can I paste data copied from several lines into a piecewise table, without pasting it in a single cell?
2answers
174 views

Why does N[Re@f] give complex result?

Consider this code: ...
1answer
74 views

Passing function as argument

I've been mucking around with passing functions as arguments to other functions and via trial and error seem to have something that works. I was wondering if someone could have a quick look at some ...

15 30 50 per page