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

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.....

추가 답변 (1개)

the cyclist
the cyclist 2013년 5월 19일

0 개 추천

You can interpolate with the interp1() function.

카테고리

도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by