How to extract simillar values from 2 arrays of different length which has same max and min values?
12 views (last 30 days)
Show older comments
Hi I have two force vs displacement graphs...one is experimental i/p and other is simulational o/p.
length of i/p is 1030 and o/p is 2270. both are simillar in shape but have some difference in values. I need to subract both the forces at exactly simillar displacement points which I don't have.
both disp vary from 1 to 52.9 (say 53) only because of diff time step, length of o/p array is different. What I want is exact simillar points from both the displcament say 100 simillar points so then I can interpolate the force at those points and then subtract.
Any help??
0 Comments
Accepted Answer
Sean de Wolski
on 24 Jun 2011
doc histc %to separate similar values into bins
doc accumarray %to do stuff with the values in the bins
doc bsxfun %to find the minimum absolute difference if you want to do a direct comparison.
Provide a small set of data with operations and expected outputs if you want more specific guidance.
More Answers (0)
See Also
Categories
Find more on Modify Image Colors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!