I have daily data from 1969 to 2018. I want to remove the rows corresponding to 29-02 day from the matrix. How should I proceed?
Show older comments
I have daily data from 1969 to 2018. I want to remove the rows corresponding to 29-02 day from the matrix. How should I proceed?. Is there any in built function for this?
2 Comments
Rik
on 13 Mar 2020
What data type is your data in? Can you provide some code that generates example data?
Subhra Maity
on 13 Mar 2020
Accepted Answer
More Answers (1)
Another option:
[~,~,raw] = xlsread('sample.xlsx');
raw(contains(raw(:,1),'29/02'),:) = [];
1 Comment
Subhra Maity
on 15 Mar 2020
Edited: Subhra Maity
on 15 Mar 2020
Categories
Find more on Dates and Time 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!