Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Loop Not working correctly

2 views (last 30 days)
Christopher Hall
Christopher Hall on 26 May 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Community Treasure Hunt

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

Start Hunting!