Info

This question is closed. Reopen it to edit or answer.

how to form the program lines for value interpolation

1 view (last 30 days)
hello guys, I am a beginner in using matlab, and I have a case which I can't solve it, can anyone help?
in the previous response, I might have tried it and there were obstacles, in essence I wanted to get value through linear interpolation methods.
can anyone help me to show how the interpolation program lines are in matlab?
example I have a matrix A 5x3 as follows
A=[1 100 114;
2 120 133;
3 150 160;
4 170 186;
5 190 200]
and through the matrix A, I want to get the value in matrix A column 1 by interpolating the value of the matrix A column 3 to column 2.
if you make it with logic,it uses many program lines and many if functions. do you know the interpolation function on matlab according to the example above?
Thanks

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!