Error with a plot
5 views (last 30 days)
I should position higher the data (see for) in which you can see the error; how can I solve this problem?
And how can I remove the spikes?
Thank you very much.
E = giuliamensile.Height
NEW_6=E *0.35 *10;
plot(giulia_monthly.Time,NEW_6(:,1),'g-^' ,'MarkerEdgeColor','k','MarkerFaceColor','g') ;
for i =113:121
Jakeb Chouinard on 12 Aug 2021
For removing the spikes, I would recommend looking into the function filloutliers. Since your data isn't meant to be terribly consistent, you will likely need to use a windowed approach, which is further detailed in its documentation.
For your plotting error, you are attempting to index into a table without specifying where on the table you wish to index into. I'm not sure what part you're trying to access, but you should be using methods found here.