eta0=0.01; R=300; f=0.01; g=9.81; x=-500:50:500; y=-500:50:500; [x y]=meshgrid(x,y); eta=eta0*exp(-(x.^2+y.^2)/R^2);
eta indicates sea surface height in each point (x,y). Calculate geostrophic current (u,v).
https://en.wikipedia.org/wiki/Geostrophic_current
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers39
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15779 Solvers
-
Back to basics 9 - Indexed References
459 Solvers
-
1446 Solvers
-
07 - Common functions and indexing 1
452 Solvers
-
194 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!