From: Jay WONG on
Dear professionals,

I came across this problem. My model has to handle a large number of iterations.

I believe the following slows down my efficiency. Essentially, how do I convert the coefficients in large numbers to double/short format while still displaying them in symbolic expressions.

Would vpa(sym) work?

thank you,


84238493240293/239230209432* PD^19
+ 8098405089459834/21743259478543* PD^40
– 5126372434/98073473284329* PD^25
+84238493240293/239230209432* PD^10
+ 8098405089459834/21743259478543* PD^30
– 5126372434/98073473284329* PD^5

======>
352.123* PD^19
+ 21.23* PD^40
– 12.6 * PD^25
+ 42.38* PD^10
+ 0.94 * PD^30
– 1.26 * PD^5