Cut radio signal by hours

1 view (last 30 days)
Shahar ben ezra
Shahar ben ezra on 11 Nov 2020
Commented: Shahar ben ezra on 21 Nov 2020
I have an excel file
I get in the file a date, hours and amplitude by frequency
How can I "cut" the hours as I wish
For example I want to get a new matrix but only between the hours of 00:00 and 12:00

Accepted Answer

Walter Roberson
Walter Roberson on 11 Nov 2020
I26 = readtable(YourFileName);
mask = I26.time < hours(12);
selected_I26 = I26(mask,:);
This would extract only the entries before noon. <= if you want to include noon.
Shahar ben ezra
Shahar ben ezra on 21 Nov 2020
Tnx Peter Perkins :)
I will try that too

Sign in to comment.

More Answers (0)


Find more on Matrices and Arrays in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!