Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specific Question Regarding Vector Lengths

Status
Not open for further replies.

aerobordo

New member
May 15, 2007
2
I have an equation z=2x+y. My problem is that x and y are taken from two different experimental setups with different acquisition rates that cannot be changed. Therefore, x is a 2975X1 double and y is a 10000X1 double. I have tried to filter the 10000X1 down to a 2975X1, but I lose critical data points in the process. Is there a way to add points to the 2975X1 to make it 10000X1? Or does anyone have additional suggestions?

Thanks for the help,
Chris
 
Replies continue below

Recommended for you

Try the function interpl.

xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Sorry about the typo. That should be interp1. You should be able to increase the number of data points in x to match the length of y.

xnuke
"Live and act within the limit of your knowledge and keep expanding it to the limit of your life." Ayn Rand, Atlas Shrugged.
Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor