write a program that creates a data set matrix of real numbers with a size of 10000 X 4 where each element is between -100 and 100 in size. Here is a partial example:

조회 수: 1 (최근 30일)
Write a program that creates a data set matrix of real numbers with a size of 10000 X 4 where each element is between -100 and 100 in size. Here is a partial example:
M =
-98.1582 19.4765 -68.8456 3.9074
13.8492 39.9856 72.0272 -57.8941
19.7625 -31.5866 -83.6175 22.5648
7.5571 -36.8443 -93.9813 -30.9987
-76.5710 -34.4167 -20.5149 79.9511
-36.2071 -18.6431 2.2775 -72.2470
-0.0191 -61.5494 32.8980 1.1866
-69.4575 56.4274 -30.9396 -40.2943
35.6457 -1.9173 -18.6166 -92.8042
-47.9353 -16.0275 -93.9745 50.6888
and so on…
Can someone please help me?

채택된 답변

David Hill
David Hill 2020년 4월 8일
x=(2*rand(10000,4)-1)*100;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by