Why inpolygon is not detecting the whole artificial reef structure?
Hi,
I’m encountering a problem while trying to adjust the bathymetry in my MATLAB code. I have successfully plotted the artificial reef structure. However, I’m having difficulty modifying the bathymetry to reflect a 4-meter depth for the structure instead of the initial 5 meters. I am using the inpolygon function, but it seems to be causing some issues and not detecting the whole structure.
The code plots correctly up to line 77, but I’m experiencing problems with the polygon section. I’ve attached the MATLAB code for review.
Could you please help me identify what might be going wrong?
Thank you!Hi,
I’m encountering a problem while trying to adjust the bathymetry in my MATLAB code. I have successfully plotted the artificial reef structure. However, I’m having difficulty modifying the bathymetry to reflect a 4-meter depth for the structure instead of the initial 5 meters. I am using the inpolygon function, but it seems to be causing some issues and not detecting the whole structure.
The code plots correctly up to line 77, but I’m experiencing problems with the polygon section. I’ve attached the MATLAB code for review.
Could you please help me identify what might be going wrong?
Thank you! Hi,
I’m encountering a problem while trying to adjust the bathymetry in my MATLAB code. I have successfully plotted the artificial reef structure. However, I’m having difficulty modifying the bathymetry to reflect a 4-meter depth for the structure instead of the initial 5 meters. I am using the inpolygon function, but it seems to be causing some issues and not detecting the whole structure.
The code plots correctly up to line 77, but I’m experiencing problems with the polygon section. I’ve attached the MATLAB code for review.
Could you please help me identify what might be going wrong?
Thank you! inpolygon MATLAB Answers — New Questions