LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

formula node

Hello

 

Can somebody help me to convert this matlab code into c code so i can use it in formula node?

 

Thanks

 

wn=30;

wd=30;

zetan=.05;

zetad=.25;

ts=.01;

anum=(wd^2/wn^2)*(4+4*zetan*wn*ts+wn^2*ts^2)/(4+4*zetad*wd*ts+wd^2*ts^2);

0 Kudos
Message 1 of 5
(2,916 Views)
Here it is in Labview..
 
Message 2 of 5
(2,913 Views)
The VI was done without the MathScript Node..
Hopefully I wired it correctly.  I ran it with the numbers you provided..  See attached image for the result..
 
RayR
 


Message Edited by JoeLabView on 06-17-2008 07:22 PM
Message 3 of 5
(2,902 Views)

Hi

Thanks for the reply. I could not open the vi because i have older version of labview ( 8.2). Can you post a picture of the vi? I wanted to use formula node because i have few more equations to calculate.

0 Kudos
Message 4 of 5
(2,862 Views)

Here it is in version 8.2

 

Message 5 of 5
(2,855 Views)