1 Pages (3 items)
Vector element operations - Messages
#1 Posted: 6/6/2014 7:33:19 PM
Hello,
I've just recently discovered this software and have probably is a simple question but I can't find the answer to it.
I'm trying to square each element in a vector and can't find a way to do it.
I've just recently discovered this software and have probably is a simple question but I can't find the answer to it.
I'm trying to square each element in a vector and can't find a way to do it.
#2 Posted: 6/7/2014 2:42:55 AM
WroteHello,
I've just recently discovered this software and have probably is a simple question but I can't find the answer to it.
I'm trying to square each element in a vector and can't find a way to do it.
Look at this or this or this posts. To make long story short, in SMath you should use loops for that, or to use Maxima plugin, or to use something like this.
[MATH=eng]v:mat(4,5,1,2,3,4,6,1)[/MATH]
[MATH=eng]sys2mat(mat2sys(v)^2)=mat(16,25,1,4,9,16,6,1)[/MATH]
This is many time mentioned problem from beginners
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 5/10/2025 3:36:17 PM
Your hotlinks do not work. Please provide correct links.
Thanks,
Reg
Thanks,
Reg
Reg CurryLoveland, CO
1 Pages (3 items)
-
New Posts
-
No New Posts