Extracting specific numerical data from array

I have a array of data points which all have a value of a time point between one and 30 minutes in seconds (i.e. 0.0176, 2.50, 1500).
I want to only extract the values between say the 24th and the 25th minute of the data and put this into a variable (t). How do I do this? Can I set a threshold of upper and lower limits on which values I want to be included in t?

 採用された回答

Stephan
Stephan 2018 年 12 月 18 日
編集済み: Stephan 2018 年 12 月 18 日

0 投票

t = A(A>=24*60 & A<25*60);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Type Conversion についてさらに検索

製品

リリース

R2017a

質問済み:

2018 年 12 月 18 日

コメント済み:

2018 年 12 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by