Generate random samples from 2-d Gaussian

Hi every one. I'm new in MATLAB and i have this question and dont know how to solve it. i would be thankful for help.
Generate 500 random samples from a 2 dimensional Gaussian with an isotropic Σ using matlab command randn(). Transform the data as above with , b=[0.5 ; 1] and A =[-5 5 ; 1 1] plot the original and transformed points. y=Ax+b
thanks.

답변 (1개)

Sara Hafeez
Sara Hafeez 2016년 3월 7일

0 개 추천

This is very very simple just use the rand function and search the help you will get it
Regards Sara Hafeez MATLAB Developer sarahafeez@ymail.com

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2016년 3월 6일

답변:

2016년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by