num2str problem with sum

num2str problem with sum - BTS issue SS-43 - Messages

#1 Posted: 8/24/2013 1:42:23 AM
Martin Kraska

Martin Kraska

1,332 likes in 2,240 posts.

Group: Moderator

num2str() fails to convert a sum to a string. In the sum(1) example "syntax is incorrect", in the sum(4) example "n is not defined".

Edit: This is now BTS issue SS-43
num2str.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
#2 Posted: 8/24/2013 3:48:22 AM
sergio

sergio

120 likes in 337 posts.

Group: User



I confirm and add some further example.
[albumimg]284[/albumimg]

sergio
[smath 0.96 (build 4884) W7 64bit]
#3 Posted: 9/20/2013 12:26:06 PM
Martin Kraska

Martin Kraska

1,332 likes in 2,240 posts.

Group: Moderator

This is the current state. sum() now can produce symbolic results.

num2str() should provide a string corresponding to the unevaluated expression if it cannot be evaluated.
sum.PNG
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • New Posts
  • No New Posts