Plotting every 15th elements of a vector

5 ビュー (過去 30 日間)
Kevin
Kevin 2014 年 3 月 31 日
回答済み: Azzi Abdelmalek 2014 年 3 月 31 日
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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 3 月 31 日
plot(ASCM_time(1:15:end),ASCM_GPS_number_satellite(1:15:end),'g')

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by