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

66 Ansichten (letzte 30 Tage)
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.....

Akzeptierte Antwort

Image Analyst
Image Analyst am 19 Mai 2013

Weitere Antworten (1)

the cyclist
the cyclist am 19 Mai 2013
You can interpolate with the interp1() function.

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