How can I find it?
Show older comments

how can I find f(-0,3) on matlab?
Accepted Answer
More Answers (1)
You can use interp1 to interpolate. 'doc interp1' for more details.
x = [-0.4 0 0.4 0.8 1.2];
f = [-0.204 -0.07 -0.006 0.442 1.658];
y = interp1(x, f, -0.3)
Categories
Find more on Multirate Signal Processing 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!