Plotting every 15th elements of a vector
조회 수: 5 (최근 30일)
이전 댓글 표시
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
채택된 답변
Azzi Abdelmalek
2014년 3월 31일
plot(ASCM_time(1:15:end),ASCM_GPS_number_satellite(1:15:end),'g')
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!