how to ues t_tide

99 views (last 30 days)
ke
ke on 8 Dec 2022
Commented: ADRIEN BOUGUES on 2 Mar 2023
Our teacher asked us to calculate the amplitude and phase of tidal components with t_tide. I have downloaded the t_tide package, and how to use it, what are the inputs,,can it input multiple sets of data?please input any data [nameu,fu,tidecon,xout]=t_tide(xin,varargin)
i write,

Accepted Answer

William Rose
William Rose on 8 Dec 2022
@ke, the t_tide package includes may functions including t_tide.m. The code for t_tide.m has extensive comments describing its inputs and outputs. For t_tide, the one required input is a time series - in other words, a vector or array of observed values at regular untervals (assumed to be 1 hour by default, but you can specify an alternative interval). The time series could be water elevations, water pressures, or current velocities (expressed as complex numbers), for example. There are various optional arguments, all described in the comments of t_tide.m.
See the article describing the t_tide package, here, for a more complete description. You should be able to access the full article via your university library.
Sounds like a good assignment. Good luck.
  3 Comments
ADRIEN BOUGUES
ADRIEN BOUGUES on 2 Mar 2023
Thx, William

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by