Info
この質問は閉じられています。 編集または回答するには再度開いてください。
can any one tell me what dose ''x = [441x2 double] '' mean? x is a variable . thanks in advance
1 回表示 (過去 30 日間)
古いコメントを表示
can any one tell me what dose ''x = [441x2 double] '' mean? x is a variable . thanks in advance
0 件のコメント
回答 (2 件)
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.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!