Mathematica

Mathematica

  • All Sites
  • All Meta Sites

1 answer

Frequency of a wavelet filter

Assume that I have decomposed a data set using Symlet Wavelet with six levels. How can I estimate the approximate frequency interval of each level? That would be great if you consider your answer in …

1 answers | 15 hours ago by K-1 on Cross Validated stats.stackexchange.com
1 answer

Solution to second order differential equation

I'm reading a paper in which the authors solve the following equation: $\frac{d^{2}}{dz^{2}}\hat{p}$($\bf{q}$$,z)$-$q^{2}\hat{p}$($\bf{q}$$,z)$-$\frac{iq_{y}}{(2\pi)^{2}}\delta(z-z_{2})$=0 here ...

5 answers

How to plot a complicated multi-variable function in a tex document automatically, not just importing an image

I have the following Tex functions and I want to plot them in my tex thesis, but I don't know how. I mean, I want the Tex to draw the function, not just to include an external image to it. ...

0 answers

Mathematica to LaTeX php

Is there a way to get LaTeX out of Mathematica code? I have to possible inputs: 1. Cell[BoxData[FormBox[RowBox[List[StyleBox["3", Rule[ScriptLevel, 1]], RowBox[List["(", "\[NoBreak]", ...

2 answers

Wolfram Language, RandomChoice recursion

a = RandomChoice[{a,2}]& a[] There are other ways to achieve this example, but I wish to do more complicated things similar to this using this method. Can I get this to continue until there are …

1 answer

How to show similar display of codes of different programming languages in LaTeX

I am very new to LaTeX and I am writing my thesis. In a chapter, I want to show my codes, which are in Mathematica. I use the listings package as follows: \documentclass{article} ...

1 answer

How to use NMaximize/NMinimize with a function and a list of variables

I have created this function which calculate the figure of merit of data acquired. The Loading variable is feed with some random numbers for the forum. In real life, I have real data. DD = 20; Days = …

1 answer

Comparing Eigenvectors, Mathematica vs. Matlab

I am trying to create the same out puts in Mathmatica and Matlab, however I am running into trouble aligning the eigenvectors with the eigenvalues, I think the Matlab is doing something slighly more …

0 answers

Solve and NSolve for large models

I'm a Mathematica rookie running version 7 on a 2010 MacBook Pro. I'm trying to solve an economics problem with a large number of firms, where each firm is given a maximum production quota (i.e., ...

1 answer

How do you round decimal of an expression in mathematica

I would like to know how to round to 1 decimal place of the numbers in an expression. For instance, the mathematica gave me 0.7888888888000002*x+1.0000000002*x^2+2.1000002*x^3==0, I want to know how …

1 answers | Jul 25 at 16:32 by kuku on Stack Overflow stackoverflow.com
1 answer

why there is a difference in the result of addition in mathamatica?

Iam trying to solve 32 linear coupled differential equations where, when i add them before solving, they should get cancel and result should be exactly zero because the coefficients are so. But it is …

1 answers | Jul 25 at 12:11 by user3218696 on Stack Overflow stackoverflow.com
0 answers

in c# use math package for multidimensional (multivariate) interpolation

I plan to use a mathematical library, which can calculate multidimensional interpolation most likely in irregular grid and non-linear (like spline). Performance is important. Some points used for ...

3 answers

Fitting custom cumulative distribution

I'm trying to create and adjust the following CDF: nlDist /: CDF[nlDist[a_, b_, c_, d_], x_] :=(Exp[-a Exp[-x/b] - c Exp[-x/d]]); FindDistributionParameters[{31, 46, 70, 87, 87, 93, 114, 128, 133, …

0 answers

InverseFunction Mathematica

I got this answer as a result in a DSolve procedure in Mathematica. I try to translate it into standard mathematical notation, but I like to be sure. Gamma is a parameter and C[1] and C[2] are ...

2 answers

Composing functions of functions in Mathematica

I would like define an operator in which the input and output are each functions. For example, say I have op1[f_,x_,y_,z_]:= f[y,x,z] op2[f_,x_,y_,z_]:=f[x,z,y] I would like to compose op1 and op2 …

2 answers

Is there any command or routine to clean screen MATHEMATICA?

I am seeking some command or some routine that allows cleaning the work area (screen) so that the results are presented in a clean screen. Command is not to clean things like variables, it is with the …

2 answers | Jul 24 at 9:22 by zeros on Stack Overflow stackoverflow.com
4 answers

File Input output in Mathematica

I am writing test-cases for a problem,I want to check my test-cases with Mathematica but I am facing some problems with file input/output. I have to take Input from a file say "Test.in",the date ...

4 answers | Jul 24 at 6:14 by Quixotic on Stack Overflow stackoverflow.com
1 answer

Two-dimensional error bars with ErrorPlotList in Mathematica?

I am brand new to Mathematica and am having trouble putting two-dimensional error bars on a graph. I have a table with the data format: (r, sr, x, sx, y, sy) where r, x, and y are means and sr, sx, …

0 answers

Shaded environment using WinEdt

I am currently using WinEdt 5.5 on a Win7 machine. I am using the shaded option to highlight a block of Mathematica code: \documentclass[a4paper,11pt,twoside,english]{book} \usepackage{xcolor} ...

2 answers

How to plot a phase portrait for this system of differential equations?

I beg your help.. I'd like the phase portrait for this system. I don't know how to use Mathematica/Matlab ... :( If anyone can make this portrait and post a print screen here, I would thank you ...

0 answers

squared complex norm of pde solution in wolfram-mathematica

Following problem: I want to calculate the squared norm of a complex function f, in order to get a real solution. This means a want to calculate Solution = Re[f]² + Im[f]² Actually the ...

2 answers

Mathematica and GAP: Is there an interface?

Although the Abstract Algebra Add-on is a beautiful package for Mathematica, imo there is nothing that beats GAP, at least not for Group Theory. When I looked at Sage a few years ago, I found that ...

7 answers

Best Math Plotting Software for Electrical Engineering

I am an electrical engineering undergrad. I would like to learn a math plotting software which would be helpful in visualizing topics in advanced calculus (my immediate need). It would also be helpful …

1 answer

Mathematica not round small value to zero

I have a simple question, for the specific project I am working on I would like mathematica to not evaluate extremely small decimals (of the order of ~10^-90) to zero. I would like a scientific ...

1 answer

Wolfram Mathematica - Newton Backward Interpolation?

I have the following task: Create a function (in Wolfram Mathematica), called $\mathrm{NewtonBackward}$[n_,x0_,h_,f_] which interpolates backwards the function $f(x)$ with nodes {x_i = x_0 + ...

1 answer

How to simplify or rearrange an equation to a specific form in mathematica

I have an equation: Y[u_, v_, w_]:=(sin[u] + v*cos[u]*sin[u - w] - v*sin[w]) Which needs to be expressed in a specific form: Y[u_, v_, w_]:=(a*sin[u] + b*sin[2*u] + c*cos[2*u] + d*v*sin[w]) ...

1 answer

Return the maximum element of an indexed object in Mathematica?

How do I return the index of the maximum element in an indexed object in Mathematica? For example, I have an indexed object numbers[i] that contains an array of randomly generated numbers. ...

1 answers | Jul 17 at 21:20 by user7340 on Stack Overflow stackoverflow.com
1 answer

Sum of a list in Mathematica

In mathematica how would I find the sum of a list plugged into a function such as (15*(1-D)) when D=[0,.05,.065,.08,.10,.12,.14,.16,.18,.20]

1 answers | Jul 16 at 21:32 by user3846537 on Stack Overflow stackoverflow.com
1 answer

Neighborhood computation for atom lattice

Dear Mathematica users, Given a 2D atom lattice (that is, a set of points within the plane), I need to compute the first three neighbors for each atom/point (the closest 3 points to each atom, taken …

1 answers | Jul 16 at 18:20 by Carlos on Stack Overflow stackoverflow.com
1 answer

Mathematica Solve[] returns function with variable slots

When I solve for a high degree polynomial in Wolfram Mathamatica it returns a function with variable slots (the "#1"'s) in it, like this: In[1]:= Solve[p^4 + 4*p^4 (1 - p) + 10*p^4*(1 - p)^2 + ...

1 answers | Jul 16 at 17:02 by PGmath on Stack Overflow stackoverflow.com
15 30 50 per page
1 2 3