Clear Filters
Clear Filters

explain about plot (z_x,z_y)

3 views (last 30 days)
희원 김
희원 김 on 9 Jun 2022
Answered: M.B on 9 Jun 2022
Can you explain what does mean of plot (z_x(:,1),z_y(:,1:2))?

Answers (1)

M.B
M.B on 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));

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!