< Unexpected is not wrong < Previous Writing out your workspace variables... >Next > Deleting in a loop 5 Posted by Doug Hull, September 24, 2010 Ever try to delete some values in a vector by looping through from beginning to end? I have, and failed because the indexing got confused as the vector changed. Here is one solution to that class of problems. 6 views (last 30 days) | | You are now following this blog post You will see updates in your activity feed.You may receive emails, depending on your notification preferences. Close Category: Format: Video, Level: Basic < Unexpected is not wrong < Previous Writing out your workspace variables... >Next > See Also Video tutorial: Debugging a logical indexing problem Blogs My path to MATLAB Blogs How to store a series of vectors from a for loop. Blogs Matlab CSS (MSS) File Exchange Evaluate Functions in the Background Using parfeval File Exchange Reduction Variables File Exchange Comments To leave a comment, please click here to sign in to your MathWorks Account or create a new one.