'Grid Vectors not strictly monotonic increasing'
Show older comments
Hi,
I am trying to interpolate 3 datasets using interp1...but am getting the error 'Grid Vectors not strictly monotonic increasing' - which I do not understand.
My datasets are given in the attachement. I want to interpolate each to find at what value of A each of C11, C12 and C44 equal a known reference values - C11ref, C12ref, C44ref. I have used the following.
C11A = interp1(C11, A, C11ref);
C12A = interp1(C12, A, C12ref);
C44A = interp1(C44, A, C44ref);
The first of these works fine. The error is thrown for the second and third...
If anybody could shed some light, I would be grateful.
Accepted Answer
More Answers (1)
umesh sahu
on 14 Mar 2019
0 votes
what if i want to delete all the values for X=3 and carry out the interpolation with rest X values ,how the "accumarray" command will have to change?
Categories
Find more on Interpolation 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!