explain about plot (z_x,z_y)

3 visualizzazioni (ultimi 30 giorni)
희원 김
희원 김 il 9 Giu 2022
Risposto: M.B il 9 Giu 2022
Can you explain what does mean of plot (z_x(:,1),z_y(:,1:2))?

Risposte (1)

M.B
M.B il 9 Giu 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));

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by