07-10-2008 12:09 PM
My algorithm involves the following
vector mathematics:
(1) Define two vectors.
(2) Cross product the two vectors to create a normal
vector.
(3) Add three vectors.
It will, in the midst of the above steps, involve declarations of vectors like:
A=rcos(pi/2)i + rsin(pi/2)j where r is some scalar that I define.
It seems like using native LabView
functions will be a burden to do this a bunch of times. In Mathscript, such a
thing is easy!
The data that MathScript will use will be continuously
changing, and coming from another algorithm that I programmed.
I'm sure MathScript is capable of doing this, but I'm not
sure if it's the most efficient. I read that MathScript is quite slow in some conditions,
and I'm not sure if this is one of them. Is there another way of doing such
operations in LabView that will be quicker?
Thank you,
Alex
07-10-2008 12:28 PM
07-10-2008 12:29 PM - edited 07-10-2008 12:35 PM
07-10-2008 05:59 PM - edited 07-10-2008 05:59 PM
07-10-2008 06:12 PM
07-11-2008 10:46 AM
07-11-2008 11:05 AM
07-11-2008 04:01 PM - edited 07-11-2008 04:03 PM
07-12-2008 09:17 AM
Wow Altenbach.
If I ever need to write a complex math script, I will post it on this forum 😉
R