could someone explain these strings?

7 ビュー (過去 30 日間)
Antonino Alesci
Antonino Alesci 2017 年 4 月 29 日
コメント済み: Antonino Alesci 2017 年 4 月 29 日
time=linspace (0 ,35 , 7000)
pla=zeros (1, length (time))

採用された回答

Image Analyst
Image Analyst 2017 年 4 月 29 日
編集済み: Image Analyst 2017 年 4 月 29 日
Did you try running the code and looking in the command window? They're making "time" a row vector - a list of 7000 elements uniformly spaced between 0 and 35. And making a row vector called "pla" of 7000 zeros, because 7000 is the length (number of elements) of the vector called time).
And they're not "strings" (characters) - they're numerical arrays of class "double".
  1 件のコメント
Antonino Alesci
Antonino Alesci 2017 年 4 月 29 日
ok, thank you very much, very accurate.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by