how to generate waveform graph?
조회 수: 7 (최근 30일)
이전 댓글 표시
Can anyone help me generate code to produce this waveform graph? This is wave equation that using finite difference method. Thank you very much for helping..
댓글 수: 0
채택된 답변
the cyclist
2014년 4월 21일
Here is a simple script that will plot the function sin(L*x). Perhaps you can adapt it to plot your function u(x,t):
L = 0.5;
x = 0 : 0.1 : 60;
u = sin(L*x);
figure
plot(x,u)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!