[CustomFunctions] mat2sys.1() and plotting inconsistency

[CustomFunctions] mat2sys.1() and plotting inconsistency - Cannot use mat2sys.1() to plot matrix containing multiple matrices consistently - Messages

#1 Posted: 6/18/2015 3:57:15 PM
anothersmathuser

anothersmathuser

0 likes in 2 posts.

Group: User

Hi All,

I have been trying to plot a matrix containing multiple matrices by using the mat2sys.1() function to convert the matrix into a system of matrix first. I got it to work once, but could not get the same result by using the same codes after. Please refer to the attached, I have highlight the code that works in pink. If I copy and paste that exact line of code, it would work but it wouldn't if I just type in the same thing, I have demonstrated that in my attachment. I hope someone will be able to shine me some light on this. Thanks!!!
test.sm (12 KiB) downloaded 39 time(s).
#2 Posted: 6/18/2015 6:58:08 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Hello anothersmathuser,

You have to change the optimization of the plot2 definition to numeric, because the special features of SMath systems. You can see what happens by holding your mouse over the plot1 and plot2 definitions.
2015-06-18 23_56_00-SMath Studio Desktop - [test.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 6/23/2015 12:19:41 AM
anothersmathuser

anothersmathuser

0 likes in 2 posts.

Group: User

It works, thanks for your help!
  • New Posts New Posts
  • No New Posts No New Posts