Changes in vectors
1 view (last 30 days)
Show older comments
Hello again.
This is perhaps more a logic question,
If I got measure points at the time t is wrong, and the correct ones is in a vector L_New that has 10 x 1.
How do I do to change the wrong measure points in L to be correct?
I know that I have not post my attempt, but this is more a "thinking" question.
Anyhow, I would be please if someone can tell me how it works.
Best Regards Cillian
0 Comments
Accepted Answer
Sean de Wolski
on 7 May 2012
This sounds like you may eventually want to interpolate. Do do this, in this case, look into interp1. If you provide us with a small set of sample data we might be better able to help you.
More Answers (1)
Stefan
on 7 May 2012
Are the measure points located in a vector with the same size like L_New? Or do you have more values?
Same size: Why do you not copy L_New? L=L_New;
Different size: you have to find first the wrong values in L, before you can compare them to L_New and exchange them.
See Also
Categories
Find more on 2-D and 3-D Plots 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!