PROBLEM ANIMATING SURF PLOT

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

Answers (2)

Cris LaPierre
Cris LaPierre on 21 Feb 2021
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 on 21 Feb 2021
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.

Categories

Products

Asked:

on 20 Feb 2021

Answered:

on 21 Feb 2021

Community Treasure Hunt

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

Start Hunting!