25,052 reputation
13685
bio website
location
age
visits member for 3 years
seen 10 mins ago

Jan
14
comment Why does Mathematica constantly reevaluate an expression?
From reference.wolfram.com/language/ref/TrackedSymbols.html Using Rule for TrackedSymbols fails in some cases because the symbols are evaluated That is why delayed in this case is always used. Generally, RuleDelayed should always be used for TrackedSymbols: This is very important. Always use :> with trackedsymbols. I once spent whole day trying to figure what I was doing wrong, then at the end I noticed I used -> instead of :>
Jan
14
revised Why does Mathematica constantly reevaluate an expression?
added small example
Jan
14
revised Why does Mathematica constantly reevaluate an expression?
corrected
Jan
14
answered Why does Mathematica constantly reevaluate an expression?
Jan
13
answered Calculate this integral returns undefined
Jan
13
answered Integration of an expression yields wrong result
Jan
13
comment Integration of an expression yields wrong result
If you can try without subscripts, then if it still does not work, please post your input. Hard to even read code with subscripts. No need to use Subscripts.
Jan
13
comment Importing numbers from Excel
Try in excel itself to change the column to be text instead of numerical. i.e. change the format of the column to text (in excel), save it, and try again the import to Mathematica.
Jan
12
comment mathematica 10 not showing numerical solution of differential equations?
Maple solves this, using BVP method with mid-point, used it since there is singularity at t=0. Here is screen shot. !Mathematica graphics Tried all the mid points methods in M with NDSolve, but none of them worked. same error. V 10.02
Jan
12
comment mathematica 10 not showing numerical solution of differential equations?
can you show a plot of the solution you obtained for f(r) and h(r) in V8 for r=0..20? What options did you use with NDSolve for V8? Same as shown? or did you change something?
Jan
12
accepted Problem using Position applied on matrix with Infinity elements
Jan
12
answered Finding the Position of the Minimum Neighbor for Each Element in a Large Matrix
Jan
12
asked Problem using Position applied on matrix with Infinity elements
Jan
11
comment Operations on transfer function model
Yes. transfer function, before passing it to Mathematica's TransferFunctionModel, is just ratio of 2 polynomials, like in the textbooks. So this is tf= k * N(s)/D(s), where N(s) is the numerator poly, and D(s) is the denominator poly. Now, you just do fancyTf=TransferFunctionModel[tf] only to be able to use fancyTf as a Mathematica transfer model. Since mathematica only knows it inside this wrapper. (ps. you should use == in the above, it is just =, a normal assignment)
Jan
11
answered Operations on transfer function model
Jan
11
comment using Mathematica library in Java
No. There is no way. Impossible.
Jan
11
comment Why is this evaluation halved when adding units?
The bug seems to be in FullSimplify (which always tries harder). Compare A[Quantity[0, "Seconds"]]; Simplify@A[Quantity[0, "Seconds"]]; FullSimplify@A[Quantity[0, "Seconds"]] screen shot: !Mathematica graphics
Jan
10
comment Decimal-to-ASCII conversion
Try ConvertNumber[32310939241583]
Jan
10
comment Decimal-to-ASCII conversion
But that is not what you said you wanted. You said "For example x = 26728 (or 0x6868) and the string is "hh", which means I can give your program any number(s) and it should work. If all you want to convert was one single number, you should have said so. ps. 32 is the space character.
Jan
10
comment Decimal-to-ASCII conversion
did you test it? ConvertNumber[3277] should return " M" but it does not. (ps. do not use UpperCaseFirstLetter, these are meant for Mathematica own functions only)