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

fafz1203
fafz1203 2016년 9월 12일
please i need help
KSSV
KSSV 2016년 9월 12일
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