# All Questions

1answer
8 views

### Implementing local variables of a recursive function with either Module or Block

First, some quick background: I have been eagerly learning Wolfram and Mathematica for two months now, and along the way have written about 250 pages of teaching material that has ballooned into a ...
1answer
10 views

### Parallelizing sparse array construction

I have a very large sparse array, and the computation of individual matrix elements is fairly expensive. The Matrix is Hermitian and traceless, so I would like to construct only the sub-diagonal ...
1answer
9 views

### What's the difference between this differentiation?

I've tried to evaluate a sum and get a result in terms of Zeta function. And I have results in two forms: ...
9answers
4k views

### Programming paradigm change

I'm new to Mathematica, I've been learning by myself, and, being a Java developer for some time, it makes it hard to adapt. I've tried to solve a Reddit challenge, and I came up with this solution: ...
1answer
87 views

### Is there a bug in the Part function of Mathematica 10?

I am using Mathematica 10 now. I typed code below {{1, 2}, {2, 4}, {3, 6}, {4, 8}}[[;; , 1]][[1]] and this gives result 1 ...
0answers
13 views

### Driven SHO - amplitude of steady state motion

I am (partly as an exercise to understand Mathematica) trying to model the response of a damped SHO to a sinusoidal driving force. I can solve the differential equation with some arbitrarily chosen ...
0answers
20 views

### Symbolically solving a system of nonlinear equations

I am trying to solve the following system of equations and did the following ...
3answers
126 views

### Site - Cell Correspondence in Voronoi Diagram obtained via VoronoiMesh

Consider the following: ...
1answer
57 views

### 3D Contour Plot - parts with gradients less and more than zero

I'm trying to plot sections of the 3D Contours, with gradient less than zero, and more than zero and equal to zero. It manages to solve for the derivative, but when I apply the conditions ...
0answers
8 views

### NonlinearStateSpaceModel: Trying to parse the documentation

I am trying to follow the documentation on NonlinearStateSpaceModel here, and the first basic example throws me for a loop. It says it's defining the nonlinear ...
1answer
94 views

### How to use MathPSfrag package in Mathematica 10?

I am interested to use LaTeX like labels in the plots that I prepare in Mathematica, and hence, I downloaded the MathPSfrag package from this website ...
1answer
48 views

### Find the solution of A^2+AB+B^2 = f(a,b,c)

I wanted to ask the following question: I need to find the solutions (a particular one is enough!) A and B of the equation $A^2 + AB + B^2 = (a^2+ab+b^2)(c^2+cd+c^2)$ How can I do it? Thank ...
0answers
35 views

In my code: ...
0answers
26 views

### Resume Parsing algorithm [on hold]

Which algorithm using for Resume parsing algorithm. for capture candidate name, skills,experience,..etc how extract required information from resume?... how to do program for this problem?... ( ...
1answer
67 views

### Understanding Paste and how to get a string from the Clipboard to use with ImportString

Trying to work on this question I got distracted by my first naive attempt of copying the data and then typing dat = ImportString[Paste[], "Table"] ...
1answer
67 views

### PDE with Stefan Conditions, a.k.a variable boundary

I want to solve the one-dimensional one-phase Stefan problem, but I don't know how to make Mathematica understand the conditions. If you are not familiar with what I'm asking please refer to this ...
0answers
22 views

### Suggested Settings for Mathematica over X11/SSH Tunnel

I am happy to discover that I can run a Mathematica session tunneled over SSH. However, as expected for X11 applications over the network, Mathematica's GUI does not have the responsiveness that I ...
1answer
50 views

### Add to the last digit a number

I have data from a Multimeter that has a precision of 0.6%rdg+4dgt. So i want to take the last digit of, say, 12.007 and add 4 to the last digit like ...
1answer
184 views
+50

### Using Compile Function Options efficiently

While this gives general pointers, I want inputs on ground rules for improved performance of nested/interdependent compiled functions. sample problem: a, ...
1answer
126 views

### Order of eigenvectors

I have a matrix A = {{5, 4, 2}, {4, 5, 2}, {2, 2, 2}} The eigenvalues are 1, 1, 10 and I need to find the eigenvectors. ...
1answer
47 views

### Real and Imaginary parts of solutions to a complex linear ODE system

Consider a complex linear ODE system $x'=Ax$, where $$A=\left( \begin{matrix} 0&1\\ -2&-i \end{matrix}\right).$$ One can first find the eigenvalues and eigenvectors using ...
1answer
58 views

### Importing High Precision (22 digits) data from a file

I want to import list from a file and I am using ReadList but my data is in format like this 8.2457409790900004e+08 but it i being imported like $8.24574*10^8$. Is ...
3answers
1k views

### Saving a notebook as PDF, preserving syntax highlighting

Currently, one may save notebooks as PDFs from the menu by Save As... and then selecting PDF (on a Mac, I imagine it is similar on other OSs). However, the ...
1answer
304 views

### How to create a neon light effect in Mathematica?

I tried to use Glow to create a neon light effect on a torus object. The result shown on the left of the picture below looks quite different from the real one on ...
2answers
69 views

### Timeline plotting: horizontal bars of time intervals

This text file logs the time that a process (identified by a number) changes state ("Brown", "Blue" etc.") ...
0answers
21 views

### Importing FITS file from HEALPix

I am trying to read FITS file created by HEALPix software. The file contains a spherical map of a scalar field. There is the online support on how to use the file in IDL, but not for Mathematica. I ...
4answers
366 views

### Use Mathematica to calculate the area enclosed between two curves

use mathematica Hence, calculate the exact area enclosed by these curves using Mathematica. $f(x)=x^3$ and $g(x)=x^5 - 2 x^3 - 3 x$ i have got the graph...now I'm stuck with finding the area
0answers
20 views

### Can I convert a palette into a toolbar?

I have a simple cell editing palette that makes things like toggle "Editable" or "Initializtion Cell". I would like to make this become a toolbar, but cannot find anything that does it. The closes I ...
2answers
146 views

### 3D Contour Plot parts of sphere with gradient less than 0, equal to 0 and more than 0

I want to plot only parts of the sphere of radius 1 where the gradient $\frac{\partial z}{\partial x}$ is < 0, = 0 and > 0. The full sphere is given by: ...
0answers
61 views

### SyntaxForm not correctly parsed by FrontEnd

When using TagBox with SyntaxForm, I noticed sometimes it is not well parsed by the ...
6answers
570 views

### Installing RLink on Linux

I'm trying to install RLink here. Needs["RLink`"] InstallR[] After downloading it throws an error: ...
0answers
20 views

### Matrix multipication [migrated]

Is this matrix multiplication is possible? Microsoft mathematics gives me a answer for it? How it could be a correct? If we need multiple two matrix, number of rows and columns should be equal. So how ...
1answer
50 views

### m equations and n variables. Reducing using Mathematica

I have six equations and thirteen variables. I would like to reduce it to seven free parameters. I used Reduce to solve it but it is taking really long (one full day and no output yet) and I think ...
2answers
218 views

### How to create an adjustable Bézier curve?

I tried to create an adjustable Bézier curve with the following simple code. However the curve didn't show up. What is the problem? Please help. ...
2answers
89 views

### Use MATHEMATICA to calculate the volume of the solid [duplicate]

Use MATHEMATICA to calculate the volume of the solid that results when the region enclosed by the given curves is revolved about the x- axis. f(x)=Pi^2 Sin[x] Cos[x]^3, f(x)= 4 x^2 x=0, x=Pi/4
2answers
150 views

### approximate value for the area between the curve

Use Mathematica to obtain an approximate value for the area between the curve $y=1/4$ and the x-axis over the interval $[1,2]$ with 50 subintervals using the left endpoint, midpoint and right ...
1answer
46 views

### ToDiscreteTimeModel fails following video

Following the systems-modeling video here at about 15 min, 20 seconds in, the presenter (Bob Sanhedrick, I think) shows a model for an "Asteroids-game"-like 2D spacecraft. The model is trivial: ...
1answer
62 views

0answers
61 views

### Dsolve implicit solution to a Differential Equation [on hold]

I would like to know if there is a form that Mathematica can give me the implicit solution to an ODE. When I use Mathematica of Alpha it it always seem to solve it for y (the dependent variable) but ...
1answer
46 views

### Finding minimum value of an integrated function over an interval [on hold]

I am novice user of Mathematica and I am stuck with this question. I have to find the minimum value for this expression. where x[1,3]. I figure that to find the minimum I just need to ...

15 30 50 per page