Loop Not working correctly

Hi,
I am trying to get the loop working.
At the moment it only applies the script to the first row in xq. The part that is not working is the last section titled 'Application of U velocity ...'.
I want to sort through the xq data with the boolean results (in) and then depending on the result apply some conditions to reformat the specific data which lies within the bounding box.
I have applied an 'inpolygon' function for the boolean to determine if points lie within my bounding box.
PFA the .m script.
Many Thanks,
Chris

Answers (0)

This question is closed.

Tags

Asked:

on 26 May 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!