I want to do interpolation. The interpolation is y=1/(x+y).i have to interpolate y. X varies from 0.1 to 0.5.The initial value of y at the beginning of each interpolation is 2/x

1 Ansicht (letzte 30 Tage)
x=0.1:.01:0.5 for i = 1:length(x) for j=1:20 y=2/x(j) y=1/(x+y) m(i,j)=y end end

Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by