what do '--' and '-.' mean?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Estefania Garcia
le 25 Sep 2020
Commenté : Estefania Garcia
le 26 Sep 2020
what do '--' and '-.' mean? I'm new to using Matlab, and I came across this while looking at some examples.

0 commentaires
Réponse acceptée
Adam Danz
le 25 Sep 2020
Modifié(e) : Adam Danz
le 25 Sep 2020
3 commentaires
Adam Danz
le 25 Sep 2020
In the command window, type
help length
It tells you the length of t.
Now try
help :
Using the syntax 2:n, the colon operator counts from 2 and stop at or just before n by intervals of 1.
1.2 : 5
% ans =
% 1.2 2.2 3.2 4.2
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Line Plots 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!