could someone explain these strings?

1 vue (au cours des 30 derniers jours)
Antonino Alesci
Antonino Alesci le 29 Avr 2017
Commenté : Antonino Alesci le 29 Avr 2017
time=linspace (0 ,35 , 7000)
pla=zeros (1, length (time))

Réponse acceptée

Image Analyst
Image Analyst le 29 Avr 2017
Modifié(e) : Image Analyst le 29 Avr 2017
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 commentaire
Antonino Alesci
Antonino Alesci le 29 Avr 2017
ok, thank you very much, very accurate.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Elementary Math dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by