what does 1 indicate in f=100:1:400?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
my program is f=100:1:400 X=2*3.14*f Z=r+j*X plot(f,Z)
3 commentaires
Réponse acceptée
the cyclist
le 7 Oct 2012
Modifié(e) : the cyclist
le 7 Oct 2012
The statement
>> f = 100:1:400
tells MATLAB to create a vector of values from 100 to 400, with a spacing of 1. Similarly,
>> f = 100:100:400
would result in
>> f = [100 200 300 400]
You can read a bit more by typing
>> help :
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations 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!