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 Solvers40
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2818 Solvers
-
327 Solvers
-
07 - Common functions and indexing 5
430 Solvers
-
786 Solvers
-
Sum of the Multiplication of Vectors
286 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!