Making a wave wind model of Lake Superior. I have xyz (lat/long/depth) data for thousands of points in the lake. I also have data showing the outline of the lake. I need to be able to calculate the fetch distance for every point given a wind angle. The issue is identifying the shoreline point to use to calculate the distance. Looking for a function that can create a vector from in lake points to a point on the shore in the direction of the wind. The end goal is to assign fetch distance to every point, and have wind direction as a variable i can change. Fairly new to Matlab and looking for all the help I can get. Thanks!!
MATLAB: Calculating distance for a wave/wind model given in lake coordinates and outline coordinates.
bathymetrydistancefetchfunctionwind
Best Answer