LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MATHSCRIPT in LabView 7.1

Solved!
Go to solution

tst is right. 

 

Using the Ramp function is much easier.  Same issues with the use of doubles..

I was too focused on reproducing the Matlab code that I lost sight of the basic function that it represented.

The Ramp function in LabVIEW is similar to:

 

linspace(start, stop, points)

 

There is an interesting variation of the results with each method.

 

0 Kudos
Message 11 of 16
(934 Views)
Solution
Accepted by topic author winter888

Hi Ray,

 

Thanks a lot for your help. I have solve it. I got 10 points for 't1' and 11 points for 't' . Its exactly as the mathscript.

 

thanks all of you.

0 Kudos
Message 12 of 16
(917 Views)

Hi Ray,

 

Ramp is a great function. Thanks a lot.

 

 

0 Kudos
Message 13 of 16
(912 Views)

Then you should mark Ray's message as the solution to your question rather than your own thank you message.  First you will have to go to the options menu to the upper right of your message to unmark it as the solution.

0 Kudos
Message 14 of 16
(908 Views)

Hi Ravens,

 

Sorry for that. I didn't mean to insult Ray. I appriciate the help. But there is a bit difference between Ray's and mine code. I changed a bit, and it is the exactly what mathscripts 't' and 't1' dose. Please see my attached file.

 

Thanks.

0 Kudos
Message 15 of 16
(904 Views)

Really?  What you have looks pretty much like what Ray gave you in message #9.  So he gave you 99% of the answer, and your one tweak of the way to derive the final array is the solution?

0 Kudos
Message 16 of 16
(895 Views)