![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/172150/image.png)
How to plot a graph between two variables using interpolation method????
34 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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.....
0 Commenti
Risposta accettata
Image Analyst
il 19 Mag 2013
You can use splines, as I show in my demo: http://www.mathworks.com/matlabcentral/answers/75657#answer_85307
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/172150/image.png)
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Interpolation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!