image thumbnail

updated 13 days ago

landmask by Chad Greene

Get a logical land mass corresponding to your data. (land, ocean, land mask)

landmask documentation

landmask(lat,lon,varargin)

image thumbnail

updated 11 months ago

land_or_ocean.m by Dan Chavas

Determine if input points (lat/lon) are over land or ocean (land, ocean, latitude)

land_or_ocean(lat,lon,coastal_res,make_plot)

land_or_ocean_example.m

image thumbnail

updated 1 year ago

Shelf Response for two KdV Solitons by Edwin Alfonso

Shelf response for an identical pair of KdV solitons in the interface impinging upon the Shelf. (shelf, seiche, kdv soliton)

[tscaled,zeta_pulse,eta_s,u_s]=shelfresponse2KdV(to,tf,dt...

image thumbnail

updated 1 year ago

Shelf Response for Two Incident Pulses by Edwin Alfonso

Shelf response for an identical pair of Gaussian pulses in the interface impinging upon the Shelf. (shelf, seiche, internal waves)

[tscaled,zeta_pulse,eta_s,u_s]=shelfresponse2pulse(to,tf,...

image thumbnail

updated 1 year ago

Shelf Response KdV by Edwin Alfonso

A function to calculate the shelf response at the coast to an incident KdV soliton impulse. (oceanography, shelf, ocean)

[tscaled,zeta_pulse,eta_s,u_s]=shelfresponsekdv(to,tf,dt,...

image thumbnail

updated 1 year ago

Shelf Response by Edwin Alfonso

Shelf response at the coast to an incident negative Gaussian shape impulse at the interface. (oceanography, ocean, shelf)

[tscaled,zeta_pulse,eta_s,u_s]=shelfresponse(to,tf,dt,rho...

image thumbnail

updated 2 years ago

Calculate the harmonic mean sound speed vertically through a profile by Val Schmidt

Given a vertical sound speed profile, calculate the harmonic mean speed of sound to some depth. (acoustics, ocean, singlebeam)

sndspd_mean(z,ssp,d)

image thumbnail

updated 3 years ago

earth2math by Cameron Sparr

Convert angles from earth-coordinate (geodetic) system to the math-coordinate system (cartesian) (earth coordinates, enu, meteorology)

earth2math(E)

image thumbnail

updated 3 years ago

ocean_rose by Cameron Sparr

This is a simple script that takes in earth coordinate angle measures and makes a 'rose' plot. (oceanography, wind, meteorology)

ocean_rose(D, nbins, varargin)

image thumbnail

updated 3 years ago

quiverc.m--updated with new features by Liang kuang

In this updated code,new features including colorbar, samesize vectors plottting are included (vector, quiverc, same size vector)

quiverc(varargin)

image thumbnail

updated 3 years ago

INTERFACE BETWEEN MATLAB AND CADENCE FOR MACRO-MODEL EXTRACTION by Philippe BENABES

launch cadence analog simulations from Matlab and extract a macromodel of linear analog functions (analog design, cadence, vhdlams)

A_Fct =supzmax(A, fmax)

[B_Trans_Fct A_Trans_Fct fr cu]=find_ac_par(sim_rep, sign...

[B_Trans_Fct A_Trans_Fct]=extract_smod(cu, fr, ord_max, e...

image thumbnail

updated 4 years ago

Animate a Wind Farm with MATLAB by Simulink Dude

A VRML model of a wind turbine, animated with MATLAB and Simulink 3D Animation. (wind, farm, turbine)

wind_turbine_code.m

image thumbnail

updated 5 years ago

Diffraction of waves by semi-infinite breakwater by Ruo-Qian

wave patterns around a semi-infinite breakwater (coastal engineering, wave, diffraction)

[X,Y,Z]=wavediff

kd=diffcoef(r,theta,L)

image thumbnail

updated 6 years ago

choose_profile_limits by Kevin Bartlett

Allows user to choose limits of oceanographic profile (e.g., CTD cast) (gui, oceanography, ctd)

accept_control_callback()

choose_profile_limits(varargin)

cpl_drag_box_lines()

image thumbnail

updated 8 years ago

wavelength by Alex Sanchez

solves the dispersion relation for ocean surface waves by using the Newton-Raphson method (wave length, dispersion, currentwave)

Contact us