# All Questions

10 views

### how to install LoopTools in windows? [on hold]

LoopTools offers three interfaces, Fortran, C/C++, and Mathematica. I have downloaded the package and now, I want to install it in windows 7, in the guide manual they said: Execute the following ...
6 views

### NDSolve giving the wrong solution?

I'm considering the non-linear second order ODE DE $=0$, with DE given by ...
15 views

### ParametricPlot3D Plotting empty Graph [on hold]

I am trying to plot a position function r(t)= sin (2[Pi]t)i + (t^3)j +cos^2 (2[Pi]t)k by inputting ParametricPlot3D[{sin [(2 [Pi]t)], t^3, cos^2 [(2 [Pi]t)]}, {t, 0, 2}] into Mathematica 10.0. ...
62 views

### How to cartoon your face

I am trying to use Mathematica to general a cartoon of face. For example some thing like this: I think it can be done using MMA but I really don't know how to do it. how can it be done and how far ...
28 views

### Not getting proper x-values in a ListPlot [on hold]

I have a table of data points to be subtracted by another table of data points. I have succeeded in subtracting the y values of each data point successfully, but it is the x values of each data point ...
102 views

### How to make a 3D topographic globe?

I've made some attempt with this dataset of elevation. But I have some trouble with ListSurfacePlot3D, which can not show the globe correctly: And I've checked that the data is out of problem, ...
19 views

### How to use SparseArray in CUDA?

Sparse arrays are widely used in many scientific applications where memory and time are strictly limited. For a considerable speedup one can use CUDA. Since Mathematica 8 we can conveniently use CUDA ...
19 views

### Verify positive definiteness using random numbers

I wish to verify whether T'T - IdentityMatrix[2] is always positive definite for a certain choice of elements of T'T. ...
33 views

### How can I eliminate infinite error messages from “Solve” function with multiple linked functions?

I am trying to extract four solutions from four equations which are linked together. I am using the "Solve" function with 4 equations and 4 unknown variables to solve. I have created the function to ...
36 views

### how to depict a network with a legend

Because my network nodes have real world names more than a few characters long, I'd like to label them with a shortcut, e.g., n1, n2, n3, ..., and put a legend on the side something like this: n1 - ...
94 views

### Mathematica's equivalent to the Python's Zip command in List-comprehension?

What is Mathematica's equivalent to Python's ZIP command? Is this called nesting? It means iterating over sub-sets of values like the below example. How can I do it in Mathematica? Example in Python ...
25 views

### getting vertices in order from spanning tree

I've got spanning tree for some weighted graph (edges labeled 1-6) - for example: ...
13 views

### Right data format when EmpiricalDistribution expects “Rectangular Array”

I have the following code to generate random data (these are the eigenvalues of a non-central Wishart matrix, and I am interested in their distribution). m = 2; n = 3; nonce = {{1, 0}, {0, 0}, {0, ...
31 views

### finding Hamiltonian path in graph (using new Mathematica graph capabilities)

I have weighted, undirected full graph (generated from points in R^2), where weight between every two vertices are euclidean distance between corresponding pair of points. What I'm trying to do is ...
29 views

### The “Save” under “File” and “Undo” under “Edit” do not work in Mathematica 10.0

Each time I click "Save" or "Undo" button from the notebook menu, some new notebook window similar to this pops up: And the file is not actually saved or the last step is not actually "undone". Is ...
390 views

### Creating a foggy image

I want to create foggy images like this one (produced with Adobe Photoshop): Not at least familiar with Mathematica's Image processing capabilities, the only ...
38 views

### Save value computed in the loop and delete it

I am using For loop to calculate a value $z$ in every cycle. I would like to create a text file, save the current value $z$ in this file and afterwards delete the value from Mathematica's memory. I ...
48 views

### NMinimize ignoring conditions imposed on solution

I have to solve a problem about Linear Programming (optimization) which is stated as follows: Minimize: 0.75x + 0.5y + 0.15z Conditions: x > 0 y > 0 z > 0 35x + 0.5y + 0.5z >= 0.5 60x ...
52 views

### FindMinimum and NMinimize to solve equations

I know that I'm not a Jedi in solving Equations and minimizing functions; but now I've this problem, and the solution is far to me. I want to solve this equation: ...
89 views

### How smart is Solve? Figuring out what tricks I should try

I'm trying to solve a large system (~10000) of linear equations using Solve, but the process keeps failing. As-is, I don't know whether it's failing because it's using too much memory or too much time ...
104 views

### An intuitive way to form an augmented matrix

Given an $m\times n$ matrix $A$ and a $m\times 1$ vector $b$, what is the most "intuitive" way of forming the augmented matrix $[ A\ b]$? The most concise way that I know of is ...
156 views

### Combining solutions while solving

Here is a simple representation of my problem. I want to solve Solve[(w^2*c^2 /. #) - 1 == 0, w]& /@ {{c -> 1}, {c -> 2}} ...
42 views

### NDSolve Wave Equation - Triangular Wave Pulse Inital Condition

I am trying to solve a simple damped wave equation with transparent boundary conditions with triangular shaped piecewise function as my initial condition. I understand that there are issues with this ...
42 views

...
130 views

### How to restore function attributes to default

Adding an attribute to a function is easy and clearing attribute is easy also. But I don't know really how to restore the attributes of a function to its defaults. All I do is quit the kernel or close ...
71 views

### Export textanalysis to pdf

In the helpfile there is a nice axample of text analysis (example/LexicalAnalysis) ...
51 views

### Can I use the values of interpolating points from NDSolve's output? And How?‎

The output of NDSolve is a (list of)InterpolatingFunction(s). In standard output format the ‎elements of interpolation are not ...
66 views

### Elementwise operation, part deux

There are many answers to this question: which are forms of Mathematica's map, but languages like Scheme (I think also Python in recent years) also provide a ...
61 views

### ListLinePlot scientific notation in y axis

I am working with mathematica 9.0 and I want to make a plot importing data from a .dat file. My issue is that I don't know how to show y axis in scientific notation. My values run from 0 to approx ...
44 views

### Counting number of trues in If condition inside a For loop [on hold]

I want to count number of trues in an If condition inside a For loop of some 10k iterations. I will be happy if you suggest me some command.
72 views

### Is there a CDF Player for Mathematica 10?

The download page for the CDF player http://www.wolfram.com/cdf-player/, only shows version 9.0.1, which shows an error message when I open CDFs created with V10.
53 views

### Computing kernels of a matrix in distinct cases

I have the following matrix: ...
29 views

### Listplot x axis - Using tranpose of two tables?

I'm trying to augment the x axis of a listplot to fit the number of steps. Secondly, since there are a large number of steps (50), there will be 50 ticks which will make the graph messy. How do I get ...
30 views

### Symbolic computation under certain assumptions

Assume that I have a matrix $M$ and I'm doing some operations on it. Is there a way to specify that two variables satisfy an equation say $x=y^2$ and then let Mathematica compute under that ...
35 views

### Steps in row reduction? [on hold]

I have a fully symbolic matrix that I'm row reducing. Looking at the end result, I see that Mathematica must have divided out some common factors for each row. However, I need to analyze those ...
41 views

### Output from LinearModelFit not showing entire result [on hold]

I used LinearModelFit to estimate a data set using six variables. The output gave ...
84 views

### Is this integral solvable?

I am trying to solve the below mentioned integral. Is it possible to solve this with mathematica. If not, can I get an approximation for this by introducting the variable not to take certain values ? ...
248 views

### How can I get this sum?

I want to sum the following numbers. At present I am calculating my sum as follows. a = 10^20 + 10^30 + 10^40; In the above case, if I want to add 100 or more ...
59 views

### ListContourPlot3D blank box?

I have a (long) list of {x,y,z,f} values generated using a finite element software package. I've tried using ...
196 views

### Element-wise list operation on list of lists

Suppose a function F operates on list A: $$A=\{a_1, a_2,\cdots, a_n\}$$ I have a list of lists, B: $$B=\{A_1, A_2,\cdots,A_m\}$$ Is there a syntax to specify that F should operate on members of B, ...
106 views

### Different results of a definite integral $\int_0^{\cosh ^{-1}(a)} \frac{1}{\sqrt{a^2 \text{sech}^2(x)-1}}\, dx$

Edit The define integral is solved using substitution method as Dr. Wolfgang Hintze says like this. $u$ =$\frac{\cosh ^2(x)-1}{a^2-1}$ $dx$ = $\frac{\left(a^2-1\right)}{2 \sinh (x) \cosh (x)}du$ ...
64 views

### Dirac Gamma matrix Algebra in different dimension

Do anyone know if we could do Dirac Gamma Matrix Algebra by FeynCalc with Gamma Matrices defined in different dimension than 4, e.g. DiracTrace of gamma matrices in 2+1 dimension? Thanks!
74 views

### Can Mathematica solve this equation with NDSolve?

Here is my code: ...
40 views

### How to remove error at large time in NDSolve

I am kind of amazed by the fact that Mathematica V9 can't solve a linearly damped wave equation at large time t=200 while Mathematica V8 does without giving me a huge deviation. Intuitively, an ...
42 views

### Parallelization and evaluation of random number generation

Suppose I have the following functions: ...
26 views

### Using a slider for a logistic growth parameter [on hold]

I have a differential equation $dy/dx$=$bP(C-P)$ for which I've already determined a reasonable value for C. I'd like to make a slider for b. How would I do that?
107 views

### Mathematica spitting code back when using Resolve over a large range of interest

I've just started using Mathematica and have encountered my first issue. Below are two commands which only differ in the range of values I am asking Mathematica to check. The first works fine, but the ...
88 views

### How to change the filling color under a plot according to a value?

Mathematica has an option to fill the space under a curve with a value: ListLinePlot[Transpose[data][[1]], Filling -> Axis] I have a dataset ...