Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

can any one tell me what dose ''x = [441x2 double] '' mean? x is a variable . thanks in advance

조회 수: 1 (최근 30일)
fariba amini
fariba amini 2016년 6월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
can any one tell me what dose ''x = [441x2 double] '' mean? x is a variable . thanks in advance

답변 (2개)

John D'Errico
John D'Errico 2016년 6월 15일
편집: John D'Errico 2016년 6월 15일
This a fairly common typical notation that indicates the size and shape of an array, as well as the datatype. So here, a double precision array, with 441 rows and 2 columns.
Note that it is NOT legal MATLAB syntax though. If you tried to type that in an executable line in MATLAB, it would generate an error. So this is only valid as a comment. Of course, you can write anything you please in a comment. So if I type that line in:
>> x = [441x2 double]
x = [441x2 double]
Error: Unexpected MATLAB expression.
As expected, an error results, as it must.

KSSV
KSSV 2016년 6월 15일
It means x is matrix of size 441x2.. 441 rows and 2 columns.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by