All Questions

5 views

How to combine multiple functions into a single function, indexed bya new argument

I have a system of expressions (matrices) which correspond to increasing orders of precision in a theory. These expressions are quite complex (require about 40+ lines of code to produce) and are not ...
6 views

Summing Over a Variable Number of Indices

I am trying to figure out the best way to include a variable number of indexes of summation in a program. For example: Suppose I want to define a function $g[n,s]$ that returns the sum ...
35 views

Simulation code performance tuning

The following simulation takes over 20 seconds for evaluation. I have difficulty re-coding it with Nest and Map or Compile functions to make it more efficient. Can some one help with this? The ...
7 views

Arguments for ChartElementFunction

I was reading the documentation for BubbleChart and I saw this example ...
20 views

i do not understand why NSolve::ivar error is occouring? [duplicate]

PLEASE HELP v[t] = Sqrt[(x'[t])^2 + (y'[t])^2 + (z'[t])^2] NSolve[{z''[t] == -9.8 - 0.0154 z'[t]*v[t], y''[t] == -0.0154 y'[t] v[t] + 0.0033 x'[t] v[t], x''[t] == v[t] (-0.0154 x'[t] - 0.0033 ...
31 views

combining manipulate with “static” plot

Is there a way to show a plot of a "static" function as background for a manipulate panel ? In other words: I have put into a manipulate a trajectory (solution of a system of two differential ...
68 views

Resizing graphics with an inset when exporting

I am generating a number of graphics using Mathematica that contain text. Adding the text to the graphic has been a considerable challenge, but I have finally come up with the following: ...
33 views

29 views

MLEvaluate() Function Gives Error

I am trying to link my C++ program to Mathematica Kernel. I am trying to use the MLEvaluate() evaluate but I receive an error while compilation. My codes are as below: ...
43 views

Combinations rather than Permutations? [on hold]

Is there a systematic way to generate the following. Let's say I have 8 variables vars={a,b,c,d,e,f,g,h} I want to access all combinations of 1 variable, ok, ...
13 views

Given two non-isomorphic graphs with the same number of edges, vertices and degree, what is the most efficient way of proving they are not isomorphic? [migrated]

After being given the following two graphs with the same number of edges, vertices and degree, I'm trying to show that they are not isomorphic. At least they seem to be non-isomorphic from the time I ...
61 views

create a faster version of my code

I try to speed up my code. I found online some tips: http://blog.wolfram.com/2011/12/07/10-tips-for-writing-fast-mathematica-code/ and ...
56 views

Need help with this problem [on hold]

"We want to support the statement: lim (5x - 6)/(3x + 7) = 5/3 x -> infinity Use a plot in Mathematica to find a positive number M so that x > M implies |(5x - 6)/(3x + 7) - 5/3| < ...
1k views

Simpler input for the new unit support

I've been playing with the new unit support in Mathematica 9. It seems very useful, but the syntax is very verbose. Instead of typing: ...