How do I skip a simulation that gives me a rank deficient matrix when I use the regress function?

3 views (last 30 days)
I am running many simulations, which include a regression for each simulation. Very rarely, the regression will issue a warning about the rank being deficient. I would like to eliminate that simulation from the analysis altogether. How can I identify which simulations are issuing this warning?

Answers (0)

Categories

Find more on Time Series in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!