Plotting with different step
이전 댓글 표시
Hello I have 2 vectors:
A which is 1x32000
B which is 1x2000
I need to plot them with a different step so they match, in other words i need for B to plot a value once for every 16 values of A.
Whenever I do:
hold on
plot (s)
stem (fn)
hold off
One would basically end after 2000 steps and the other one after 32000 however I would like for both of them to end at 32000 is there a way to do so?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!