Info
此问题已关闭。 请重新打开它进行编辑或回答。
Plotting a given command
2 次查看(过去 30 天)
显示 更早的评论
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),'+')
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!