how to find numbers of data outside prediction bounds from another data serie?

1 view (last 30 days)
Hi !
I did a script on Matlab (R2011a) to plot a serie of datas, with a fit and prediction bounds. My problem is that I'm not able to find a way to determine the data's number from a second data serie that are outside the prediction bounds.
Here is a part of the code:
h1=fit(Latitude_N,QmoyMensuel_N(:,1),'poly2');
h2=plot(h1,Latitude_N,QmoyMensuel_N(:,1),'predobs');
hold on
h3=plot(Latitude_B,QmoyMensuel_B(:,1),'.','Color','g');
I want to find out the data's number from the serie [Latitude_B,QmoyMensuel_B(:,1)] which are outside the observation bounds of the other data serie.
I tried to use the command predint, and I know it's not working because the ranges correspond to the first date serie, but I don't have others ideas to solve my problem...
Thanks for your help, Marie-Eve

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!