explain about plot (z_x,z_y)

1 Ansicht (letzte 30 Tage)
희원 김
희원 김 am 9 Jun. 2022
Beantwortet: M.B am 9 Jun. 2022
Can you explain what does mean of plot (z_x(:,1),z_y(:,1:2))?

Antworten (1)

M.B
M.B am 9 Jun. 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));

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by