< Unexpected is not wrong < Previous Writing out your workspace variables... >Next > Deleting in a loop Posted by Doug Hull, September 24, 2010 3 views (last 30 days) | 0 Likes | 5 comments 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. | 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 Contest is on! Vines Blogs Deleting an element from a cell array Blogs Using the right visualization for understanding data in MATLAB Blogs AM Delete Channel Gerchberg–Saxton Algorithm Comments To leave a comment, please click here to sign in to your MathWorks Account or create a new one.