Mathematica

Mathematica

  • All Sites
  • All Meta Sites

0 answers

Using Mathematica in Julia on OSX

I have recently tried to use the Mathematica.jl package on my macbook pro using OSX 10.9 Mavericks. I have a copy of Mathematica 9 named "Mathematica" in my applications and a copy of Mathematica 10 …

1 answer

Run Mathematica Processes on separate cores

I need to perform several operations, each of which takes several hours to complete when run one at a time. Since I have 8 cores, I should be able to run them all at once instead of one after the ...

1 answer

Best program for multiplying many multivariable polynomials

I want to make a table with two columns: The first column will consist of many(possibly hundreds) of polynomials in two variables. The second column will be a function applied to all of the ...

1 answer

Solve linear system of equations with symbolic expressions

Hi I am trying to solve a linear system of equations with mathematica. I have 18 equations and 18 Unknowns and the coefficient matrix has full rank. All entries are symbolic since I am trying to solve …

0 answers

Algorithm to find the “optimal” path in a given graph

Assume that $G=(V,E)$ is an undirected connected graph and that $H: V \to \mathbb R$ is a function that assign at each vertex $v \in V$ its height $H(v)$. Think of the pair $(G,H)$ as an energy ...

1 answer

Change elements in array mathematica

gammaSample = RandomVariate[GammaDistribution[2, 2], 10]; xArray = Array[0, 10]; yArray = Array[0, 10]; Histogram[gammaSample]; PearsonChiSquareTest[gammaSample] sorted = Sort[gammaSample]; ...

1 answers | Sep 18 at 7:46 by Jonas on Stack Overflow stackoverflow.com
3 answers

Formatting usage messages

If you take a look at the Combinatorica package in Mathematica8 in (mathematicapath)/AddOns/LegacyPackages/DiscreteMath/Combinatorica.m you will find the definitions of functions. What I'm interested …

1 answer

Bernoulli numbers with Boost are different from Mathematica

In the latest Boost, there is a function to compute the Bernoulli number, but I miss what it does exactly. For example, Mathematica, Python mpmath and www.bernoulli.org say that: BernoulliB[1] == …

0 answers

Assigning a variable as constant and find out the minimum value

I have got a problem in assigning a variable as constant and solving a equations for minimum value. These are my equations: g (m1 + 2 (m2 + md)) (b - h1 [Theta]10) + 4 kd (h1^2 [Theta]10 + h1 h2 …

1 answer

What are the labels for minor ticks in a log scale graph?

What are the labels for the minor ticks in a log scale graph? I would like to label them. So, I want to know how to calculate the value for each of the minor tick.

1 answers | Sep 16 at 18:24 by jhyap on Super User superuser.com
0 answers

Visual representation of a Ranking over time (image provided)

The graph below shows a ranking of countries at 10 different points. The cool thing with this graph is that it allows you to track changes in the ranking over time. I want to create create something …

0 answers

How to find the location of the highest element in a tensor in mathematica

I have a very large array of numbers in the form of a third order tensor.I want to find the highest of all the values in that tensor. How can I do it in mathematica? The context is that a reaction is …

3 answers

Saved Mathematica file not actually saved

I have a well-honed Control-S reflex (i.e. I obsessively save my work), but when Mathematica crashes with a file open the saved changes are not recovered when I restart Mathematica and open the file. …

3 answers | Sep 13 at 3:11 by Eli Lansey on Stack Overflow stackoverflow.com
2 answers

“Not well-formed equation” using Mathematica's Solve

First time using stackOverflow. :) I'm trying to use mathematica to solve some simply polynomial equations (let's say in one variable) with constraints on the variable, e.g |x| < 1. When I try …

2 answers | Sep 11 at 23:52 by Ben on Stack Overflow stackoverflow.com
2 answers

How can I call a part of an element from a list in Mathematica?

I'm doing some image processing in Mathematica (as homework). I'm working with this sort of list: { 1 -> {0.0125858, 0.068223, 0.000278799}, 2 -> {0.174, 0.304475, 0.126911}, 3 -> ...

2 answers | Sep 11 at 20:26 by user170231 on Stack Overflow stackoverflow.com
2 answers

Resetting/Deleting/Forgetting variables in Mathematica Notebooks

I am computing some formulae in a notebook. Suppose I define a function Myf[x_] := Sin[c*x] + Tanh[x/c]*Exp[-x] and then compute Integrate[Myf[y], {y, -1, 1}] Now, just to do some sanity check, …

1 answer

contour plot using Mathematica

I want do a contour plot in Mathematica as: ContourPlot[{Re[F[5/4, x + I y]] == 0, Im[F[5/4, x + I y]] == 0}, {x, -20, 20}, {y, -20, 20}, PlotPoints -> 100]; where function F[b,z] is defined …

1 answers | Sep 8 at 22:46 by mike on Mathematics math.stackexchange.com
1 answer

Difference in eigenvector transformations: Mathematica vs. SciPy

Similar questions have been asked previously here but none seem to answer my example. I compute the eigenvalues and eigenvectors of a matrix A using Mathematica and SciPy; the eigenvalues agree but …

1 answer

Real-life application of sinc-in-time data or sinc(t) function?

I found that my customers' response time on an application is varying in a Sinc-in-time fashion. i.e. Sinc(t) across time. Can this information be applied to obtain any relevant system other than just …

1 answer

Is there an R equivalent to Mathematica's Sow and Reap functions for building lists?

Mathematica has an interesting way of incrementally building a list (or more than one list) of results that you calculate at various points of a complicated computation. I'd like to do something ...

1 answer

Accesing all subelements in a multidimensional array in javascript a la “mathematica”

In mathematica exists an special accessor for all the elements in an array which is very useful if you want from all the elements a subelement, this accessor is the word "All". It works like this: …

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 | Sep 6 at 5:31 by K-1 on Cross Validated stats.stackexchange.com
1 answer

Newton's Method in Mathematica

This is the function I need to program: f(x) = 1 – e^cos(x) Use Newton’s method to approximate the root of f near to 4. Use 10-5 as the kick out threshold. This is how the professor wrote it out …

1 answer

Help with Complicated Definite Integral

I am trying to find the integral of the following expression, with respect to $t$ from $0$ to infinity: $$\frac{e^{-a g t} \left(b-(g-1) \left(\text{H0} \left(e^{a t (-b+g- ...

1 answers | Sep 4 at 11:22 by MPahuta on Mathematics math.stackexchange.com
1 answer

Trouble using position in wolfram-mathematica

Hi im coding a homework in mathematica about finding the probability of a program failing, make a plot and a table with the results however Im having trouble getting the last value of the table ...

1 answers | Sep 4 at 3:54 by user3087011 on Stack Overflow stackoverflow.com
2 answers

Generating knots procedurally (and visualizing them)

I'm looking for an algorithm that provides a way to generate graphical representations of knots (either 2D or 3D, but the former, with vector graphics is preferable). I've seen many links to knot ...

1 answer

index notation derivative mathematica/maple

is there a way to take partial derivative with respect to the indices using Maple or Mathematica? For instance, $\dfrac{\partial x_i}{\partial x_j}=\delta_{ij}$ Thank you

1 answers | Sep 3 at 16:35 by winwin on Stack Overflow stackoverflow.com
0 answers

Is there any interactive spline fitting software?

I'd like to know if there's any software (freeware) for interactive data interpolation. What I want is to be able to visualize my data on an XY plot and drag the points to see how it affects the ...

0 answers

Mean Absolute Percentage Error with mathematica

I have problem with MAPE code in mathematica. I have a data fitted from Hidden Markov Model and I will make a code for MAPE. Can you give me a code to MAPE please?

1 answer

Any way to force Mathematica to remove the Locked attribute?

Obviously Mathematica is able to remove this attribute; it's just not letting me. Does anyone know of any hacks to force Mathematica to do what I say?

15 30 50 per page
1 2 3