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
-
Program an exclusive OR operation with logical operators
751 Solvers
-
16525 Solvers
-
The Answer to Life, the Universe, and Everything
579 Solvers
-
Sum the 'edge' values of a matrix
403 Solvers
-
Compute LOG(1+X) in natural log
264 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!