explain about plot (z_x,z_y)

1 visualización (últimos 30 días)
희원 김
희원 김 el 9 de Jun. de 2022
Respondida: M.B el 9 de Jun. de 2022
Can you explain what does mean of plot (z_x(:,1),z_y(:,1:2))?

Respuestas (1)

M.B
M.B el 9 de Jun. de 2022
You get a two graph plot where the x axis data is the first column of z_x, and y axis data is the first two columns of z_y.
It's equivalent to:
plot(z_x(:, 1), z_y(:, 1)); hold on;
plot(z_x(:, 1), z_y(:, 2));

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by