Calculate geostrophic current - MATLAB Cody - MATLAB Central

Problem 43235. Calculate geostrophic current

Difficulty:Rate
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

66.1% Correct | 33.9% Incorrect
Last Solution submitted on Aug 09, 2023

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers36

Suggested Problems

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!
Go to top of page