Plotting multi-dimensional arrays
Mostrar comentarios más antiguos
Hi guys, I am trying to create an animated plot of air gap mmf inside a motor. I have successfully created stationary graphs of the mmf (flux against angle position). But for animated plot, I been having problems and do not know where to start. My purpose is to show people how mmf changes in time. So I have 3 arrays: Flux, angle position and time. This is the part of my code where I want to put the time array in and plot the multi-dimensional arrays.
for j = 0:999
t = 0.04 / 1000 *j;
iA = 20 * sqrt(2)*cos(2*pi*50*t);
stator_mmf_a = stator_a(i)*iA;
Respuestas (0)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!