Plotting every 15th elements of a vector
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kevin
le 31 Mar 2014
Réponse apportée : Azzi Abdelmalek
le 31 Mar 2014
I have this vector file which is 345*1 and I only want to plot every 15th elemts versues time i tried this
plot(ASCM_time(1:15:end),ASCM_GPS_number_satellite,'g')
but it doent work, and it tells me
"Error using plot Vectors must be the same lengths."
both vectors are 345*1.
what should I do? any suggestion? please thanks
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 31 Mar 2014
plot(ASCM_time(1:15:end),ASCM_GPS_number_satellite(1:15:end),'g')
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D 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!