Jump to content

data between data points


daveP

Recommended Posts

Hi,

I should say I'm a relative beginner to Labview. I am trying to convert from one file type to another.

I have x y data in array form. The original data was not generated with a uniform x interval, but the file I am converting to requires the x data to be evenly spaced from the start value to the end one. Does labview allow you to predict the y values at given x values i.e can a generate a new array with new x and y values where the x values are evenly spaced.

Any help would be greatly appreciated

Cheers

Dave

Link to comment

Hi Dave,

Try investigating the Interpolate & Threshold 1D Array in the Array Palette. You can specify the spacing yourself and iterate in a for/while loop to generate the proper vectors. This is "linear interpolation". You can have a look at spline interpolation too...

When you have worked a little with these, post what you've got if you're still stuck.

post-10515-1224605512.png?width=400

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.