How to plot a graph between two variables using interpolation method????

47 次查看(过去 30 天)
hello all, There is this simple problem i am facing.I am plotting a graph between 't' (time) and 'e'(Energy) which gives me the values of energy at specific time.
I want to plot the interpolation graph between these two variables such that instead of getting specific bars of energy at specific time, i get a continuous signal graph.
SCRIPT IS:
figure()
plot(t(1:n),e);
THANX.....

采纳的回答

Image Analyst
Image Analyst 2013-5-19

更多回答(1 个)

the cyclist
the cyclist 2013-5-19
You can interpolate with the interp1() function.

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by