Plotting a given command

HI, I am very new to Matlab. How do I plot the command below, please help me ASAP.
mu = [1,1];
sigma = [2,-1;-1,1];
rng default % For reproducibility
r = mvnrnd(mu,sigma,100);
%% % Plot the random numbers. figure plot(r(:,1),r(:,2),'+')

2 个评论

please i need help
What help you need? The above code is plotting your random numbers right?

回答(0 个)

此问题已关闭。

标签

提问:

2016-9-12

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by