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.....
댓글 수: 0
채택된 답변
Image Analyst
2013년 5월 19일
You can use splines, as I show in my demo: http://www.mathworks.com/matlabcentral/answers/75657#answer_85307
댓글 수: 0
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!