[CustomFunctions] mat2sys.1() and plotting inconsistency

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

#1 Pubblicato: 18/06/2015 15:57:15
anothersmathuser

anothersmathuser

0 apprezzamenti in 2 post.

Gruppo: 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,77 KiB) scaricato 1298 volta(e).
#2 Pubblicato: 18/06/2015 18:58:08
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 23/06/2015 00:19:41
anothersmathuser

anothersmathuser

0 apprezzamenti in 2 post.

Gruppo: User

It works, thanks for your help!
  • Nuovi post
  • Nessun nuovo post