How I plot data using a specific frequency?

4 ビュー (過去 30 日間)
MarFanta
MarFanta 2017 年 1 月 25 日
回答済み: KSSV 2017 年 1 月 25 日
Hi I have measured data every 0.25 second but I would like to plot only data measured every second. EX (00:00:00.00 = 10 00:00:00:25 = 11 ........... .. 00:00:01.00 =13) I want to plot only data at 00:00:00.00 and 00:00:01.00. Any help? thank you

採用された回答

KSSV
KSSV 2017 年 1 月 25 日
let t be your time......you skip four values and plot.
Eg:
t = 0:0.25:10 ;
iwant = t(1:4:end) ;
Other way would be, you create your new wanted time and do interpolation for plotting.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by