Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Plotting a given command

1 vue (au cours des 30 derniers jours)
fafz1203
fafz1203 le 12 Sep 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
fafz1203
fafz1203 le 12 Sep 2016
please i need help
KSSV
KSSV le 12 Sep 2016
What help you need? The above code is plotting your random numbers right?

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by