THE WAVE ONLY MOVES IN THE TIME DIRECTION. I WANT IT TO MOVE FROM ALL DIRECTIONS TO VISUALIZE THE WAVE

답변 (2개)

Cris LaPierre
Cris LaPierre 2021년 2월 21일

0 개 추천

You are only modifying t. If you want something to change in another direction, you will have to modify the corresponding variable as well (xi perhaps?)
Image Analyst
Image Analyst 2021년 2월 21일

0 개 추천

Not sure what your definition of "move" is. Are you talking about an animation? Or do you just want there to be variation along the Time axis instead of it being constant? Then you would have to change the time variable in one of your loops.
Attach your code if you need more help because we can't run an image, and we're not going to type all that in.

카테고리

도움말 센터File Exchange에서 Animation에 대해 자세히 알아보기

제품

질문:

2021년 2월 20일

답변:

2021년 2월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by