WAFO Python conversion help

This is an in-progress conversion of the supplied MATLAB toolbox. Implemented/adapted entries identify Python APIs; their docstrings describe Python arguments and limits. Passing Python tests do not certify MATLAB parity. Original MATLAB topic notes follow the catalog.

SourcePurposeStatusPython API
Contents.mWAFO Toolboxdocumentation-or-script
cycles/cc2amp.mCC2AMP Calculates the amplitudes from a cycle count.implementedwafo.cycles.cc2amp
cycles/cc2cmat.mCC2CMAT Calculates the cycle count matrix from a cycle count.adaptedwafo.cycles.cc2cmat
cycles/cc2dcc.mCC2DCC Discretize a cycle count.implementedwafo.cycles.cc2dcc
cycles/cc2lc.mCC2LC Calculates the number of upcrossings from a cycle countimplementedwafo.cycles.cc2lc
cycles/ccplot.mCCPLOT Plots a cycle count as a point process in the plane.adaptedwafo.cycles.ccplot
cycles/cmat2amp.mCMAT2AMP Calculates a histogram of amplitudes from a cycle matrix.implementedwafo.cycles.cmat2amp
cycles/cmat2extralc.mCMAT2EXTRALC Extrapolate level crossing spectrumadaptedwafo.cycles.cmat2extralc
cycles/cmat2lc.mCMAT2LC Calculates the level crossings from a cycle matrix.implementedwafo.cycles.cmat2lc
cycles/cmat2nt.mCMAT2NT Calculates a counting distribution from a cycle matrix.implementedwafo.cycles.cmat2nt
cycles/cmat2rmcmat.mCMAT2RMCMAT Converts a cycle matrix from Range-Mean format to min-max format.implementedwafo.cycles.cmat2rmcmat
cycles/cmatcombine.mCMATCOMBINE Combines two cycle matrices.implementedwafo.cycles.cmatcombine
cycles/cmatplot.mCMATPLOT Plots a cycle matrix, e.g. a rainflow matrix.adaptedwafo.cycles.cmatplot
cycles/cmatresamp.mCMATRESAMP Resamples a cycle matrix.implementedwafo.cycles.cmatresamp
cycles/cocc.mCOCC Plots cycles as points together with isolines of a cycle matrix.adaptedwafo.cycles.cocc
cycles/Contents.mModule CYCLES in WAFO Toolbox.documentation-or-script
cycles/dat2dtp.mDAT2DTP The sequence of discretized turning points from a signal.implementedwafo.cycles.dat2dtp
cycles/dat2rfm.mDAT2RFM Calculates the rainflow matrix from a time signal.implementedwafo.cycles.dat2rfm
cycles/dcc2cmat.mDCC2CMAT Calculates the cycle matrix for a discrete cycle count.implementedwafo.cycles.dcc2cmat
cycles/dtp2arfm.mDTP2ARFM Calculates asymmetric RFM from discrete turning points.implementedwafo.cycles.dtp2arfm
cycles/dtp2arfm4p.mDTP2ARFM4P Calculates asymmetric RFM from discrete turning points (4-point).implementedwafo.cycles.dtp2arfm4p
cycles/dtp2arfm_sid.mDTP2ARFM_SID Asymmetric RFM from discrete TP with side information.adaptedwafo.cycles.dtp2arfm_sid
cycles/dtp2rfm.mDTP2RFM Calculates rainflow matrix from discrete turning points.implementedwafo.cycles.dtp2rfm
cycles/dtp2rfm_sid.mDTP2RFM_SID Rainflow matrix from discrete turning points with side information.adaptedwafo.cycles.dtp2rfm_sid
cycles/extralc.mEXTRALC Extrapolate level crossing spectrumadaptedwafo.cycles.extralc
cycles/lc2rfmextreme.mLC2RFMEXTREME Compute extreme RFM from level crossings.adaptedwafo.cycles.lc2rfmextreme
cycles/lsplot.mLSPLOT Plot load spectra.adaptedwafo.cycles.lsplot
cycles/nt2cmat.mNT2CMAT Calculates a cycle matrix from a counting distribution.implementedwafo.cycles.nt2cmat
cycles/nt2lc.mNT2LC Calculates the level crossings from a cycle matrix.implementedwafo.cycles.nt2lc
cycles/Readme.mREADME Readme file for module CYCLES in WAFO Toolbox.documentation-or-script
cycles/res2arfc.mRES2ARFC Calculates asymmetric rainflow cycles for a residual.adaptedwafo.cycles.res2arfc
cycles/rfcfilter.mRFCFILTER Rainflow filter a signal.implementedwafo.cycles.rfcfilter
cycles/rfmextrapolate.mRFMEXTRAPOLATE Extrapolates a rainflow matrix.adaptedwafo.cycles.rfmextrapolate
cycles/rmcmat2cmat.mRMCMAT2CMAT Converts a cycle matrix from Range-Mean format to min-max format.implementedwafo.cycles.rmcmat2cmat
cycles/smoothcmat.mSMOOTHCMAT Smooth a cycle matrix using (adaptive) kernel smoothingadaptedwafo.cycles.smoothcmat
cycles/smoothcmat_hnorm.mSMOOTHCMAT_HNORM Bandwidth selection for kernel smoothing of a cycle matrix.adaptedwafo.cycles.smoothcmat_hnorm
cycles/test/test_cycles.mTEST_CYCLES Quick test of the routines in module 'cycles'documentation-or-script
cycles/tp2arfc.mTP2ARFC Calculates asymmetric rainflow cycles from turning points.implementedwafo.cycles.tp2arfc
cycles/tp2arfc4p.mTP2ARFC4P Calculates asymmetric rainflow cycles from turning points (4-point).implementedwafo.cycles.tp2arfc4p
cycles/tp2lc.mTP2LC Calculates the number of upcrossings from the turning points.implementedwafo.cycles.tp2lc
cycles/tp2mm.mTP2MM Calculates min2Max and Max2min cycles from a sequence of turning pointsimplementedwafo.cycles.tp2mm
cycles/tp2rfc.mTP2RFC Finds the rainflow cycles from the sequence of turning points.implementedwafo.cycles.tp2rfc
cycles/tpextrapolate.mTPEXTRAPOLATE Extrapolates a sequence of turning points.adaptedwafo.cycles.tpextrapolate
cycles/wgpdfit_mld.mWGPDFIT_MLD Parameter estimates for GPD dataadaptedwafo.cycles.wgpdfit_mld
damage/cc2dam.mCC2DAM Calculates the total Palmgren-Miner damage of a cycle count.implementedwafo.damage.cc2dam
damage/cmat2dam.mCMAT2DAM Calculates the total Palmgren-Miner damage of a cycle matrix.implementedwafo.damage.cmat2dam
damage/cmat2dmat.mCMAT2DMAT Computes the (Palmgren-Miner) damage matrix from a cycle matrix.implementedwafo.damage.cmat2dmat
damage/Contents.mModule DAMAGE in WAFO Toolbox.documentation-or-script
damage/damint.mDAMINT Calculates damage intensity from counting distribution.adaptedwafo.damage.damint
damage/down2cc.mDOWN2CC Calculates the cycle count which has the highest damageadaptedwafo.damage.down2cc
damage/ftf.mFTF Calculates the fatigue failure time distribution.implementedwafo.damage.ftf
damage/lc2dplus.mLC2DPLUS Upper bound for total damage from level crossings.adaptedwafo.damage.lc2dplus
damage/roadspec.mROADSPEC Spectral density (frequency) for a roadimplementedwafo.damage.roadspec
damage/snplot.mSNPLOT Plots SN-data and estimates parametersadaptedwafo.damage.snplot
damage/spec2dplus.mSPEC2DPLUS Calculates an upper bound of the damage intensity explicitlyimplementedwafo.damage.spec2dplus
damage/sphdam.mSPHDAM Calculates spherical damage for a 3-D load.implementedwafo.damage.sphdam
data/atlantic.mATLANTIC Significant wave-height data recorded in the Atlantic Oceandocumentation-or-script
data/Contents.mModule DATA in WAFO Toolboxdocumentation-or-script
data/gfaks89.mGFAKS89 Surface elevation measured at Gullfaks C 24.12.1989documentation-or-script
data/gfaksr89.mGFAKSR89 Reconstructed surface elevation measured at Gullfaks C 24.12.1989.documentation-or-script
data/japansea.mJAPANSEA coastline map of The Japan Seadocumentation-or-script
data/northsea.mNORTHSEA coastline map of The Nortseadocumentation-or-script
data/readme.mREADME Readme file for module DATA in WAFO Toolbox.documentation-or-script
data/sea.mSEA Surface elevation dataset used in WAT version 1.1.documentation-or-script
data/sfa89.mSFA89 Wind measurements at Statfjord A 24.12.1989documentation-or-script
data/sn.mSN Fatigue experiment, constant-amplitude loading.documentation-or-script
data/yura87.mYURA87 Surface elevation measured off the coast of Yura.documentation-or-script
docs/aboutwafo.mABOUTWAFO WAFO is a Matlab toolbox for analysis of random wavesdocumentation-or-script
docs/addfeatr.mADDFEATR How To Add New Features to WAFOdocumentation-or-script
docs/ampdef.mAMPDEF wave heights and amplitude definitions and nomenclaturedocumentation-or-script
docs/bugreport.mBUGREPORT Bug Report Form for WAFOdocumentation-or-script
docs/Contents.mDOCS MODULE in WAFO Toolboxdocumentation-or-script
docs/crossdef.mCROSSDEF level v crossing definitions and nomenclaturedocumentation-or-script
docs/datastructures.mDATASTRUCTURES of spectrum, covariance function and density (pdf) in WAFOdocumentation-or-script
docs/getstart.mGETSTART ideas for getting started with WAFOdocumentation-or-script
docs/install.mInstallation description of WAFO Toolboxdocumentation-or-script
docs/limitations.mLIMITATIONS (+) WAFO known limitationsdocumentation-or-script
docs/perioddef.mPERIODDEF wave periods (lengths) definitions and nomenclaturedocumentation-or-script
docs/startup.mSTARTUP example startup file to put in your matlab pathdocumentation-or-script
docs/tpdef.mTPDEF turning points definitions and numenclaturedocumentation-or-script
docs/wafohelp.mWAFOHELP Launch HTML help for the WAFO Toolbox.adaptedwafo.docs.wafohelp
docs/wafomenu.mWAFOMENU displays a user interface to the documentation files of WAFOadaptedwafo.docs.wafomenu
docs/wafoweb.mWAFOWEB World Wide Web site of the WAFO Toolbox.adaptedwafo.docs.wafoweb
docs/wavedef.mWAVEDEF Wave definitions and nomenclaturedocumentation-or-script
exec/Contents.mWAFO Toolbox /execdocumentation-or-script
fatigue.mFatigue in WAFO (Wave Analysis for Fatigue and Oceanography).documentation-or-script
initwafo.mINITWAFO Initiation of WAFO Toolbox.adaptedwafo.root.initwafo
kdetools/bincount.mBINCOUNT 1-dimensional Bin Countadaptedwafo.kdetools.bincount
kdetools/chi2gof.mCHI2GOF CHI Squared Goodness Of Fit test.adaptedwafo.kdetools.chi2gof
kdetools/chi2gof2.mCHI2GOF2 CHI Squared Goodness Of Fit test.adaptedwafo.kdetools.chi2gof2
kdetools/Contents.mModule KDETOOLS in WAFO Toolbox.documentation-or-script
kdetools/deriv.mDERIV 4th, 6th, 8th and 10th derivatives of the kernel function.implementedwafo.kdetools.deriv
kdetools/deriv2.mDERIV2 High order partial derivatives of the Gaussian kernel.implementedwafo.kdetools.deriv2
kdetools/evalpdf.mEVALPDF evaluates a PDF struct by interpolationadaptedwafo.kdetools.evalpdf
kdetools/ffndgrid.mFFNDGRID Fast 'n' Furious N-D data gridding.adaptedwafo.kdetools.ffndgrid
kdetools/fftce.mFFTCE Circulant Embedding of a vector or matrixadaptedwafo.kdetools.fftce
kdetools/gridcount.mGRIDCOUNT D-dimensional histogram using linear binning.adaptedwafo.kdetools.gridcount
kdetools/hbcv.mHBCV Biased Cross-Validation estimate of smoothing parameter.adaptedwafo.kdetools.hbcv
kdetools/hbcv2.mHBCV2 Biased Cross-Validation smoothing parameter for 2D data.adaptedwafo.kdetools.hbcv2
kdetools/hboot.mHBOOT Bootstrap cross-validation estimate of smoothing parameter.adaptedwafo.kdetools.hboot
kdetools/hldpi.mHLDPI L-stage Direct Plug-In estimate of smoothing parameter.adaptedwafo.kdetools.hldpi
kdetools/hldpi2.mHLDPI2 L-stage DPI estimate of smoothing parameter for 2D dataadaptedwafo.kdetools.hldpi2
kdetools/hldpi2fft.mHLDPI2FFT L-stage DPI estimate of smoothing parameter for 2D dataadaptedwafo.kdetools.hldpi2fft
kdetools/hlscv.mHLSCV Least Squares Cross-Validation estimate of smoothing parameteradaptedwafo.kdetools.hlscv
kdetools/hmns.mHMNS Multivariate Normal Scale Estimate of Smoothing Parameter.implementedwafo.kdetools.hmns
kdetools/hns.mHNS Normal Scale Estimate of Smoothing Parameter.adaptedwafo.kdetools.hns
kdetools/hos.mHOS Oversmoothing Parameter.implementedwafo.kdetools.hos
kdetools/hscv.mHSCV Smoothed cross-validation estimate of smoothing parameter.adaptedwafo.kdetools.hscv
kdetools/hste.mHSTE 2-Stage Solve the Equation estimate of smoothing parameter.adaptedwafo.kdetools.hste
kdetools/hstt.mHSTT Scott-Tapia-Thompson estimate of smoothing parameter.adaptedwafo.kdetools.hstt
kdetools/kde.mKDE Kernel Density Estimator.adaptedwafo.kdetools.kde
kdetools/kde1dgui.mKDE1DGUI GUI to Kernel Density Estimator.adaptedwafo.kdetools.kde1dgui
kdetools/kde2dgui.mKDE2DGUI GUI to Kernel Density Estimator in two dimensions.adaptedwafo.kdetools.kde2dgui
kdetools/kdebin.mKDEBIN Binned Kernel Density Estimator.adaptedwafo.kdetools.kdebin
kdetools/kdedemo1.mKDEDEMO1 Demonstrate the smoothing parameter impact on KDEadaptedwafo.kdetools.kdedemo1
kdetools/kdedemo2.mKDEDEMO2 Demonstrate the difference between transformation- and ordinary-KDEadaptedwafo.kdetools.kdedemo2
kdetools/kdefun.mKDEFUN Kernel Density Estimator.adaptedwafo.kdetools.kdefun
kdetools/kdeoptset.mKDEOPTSET Create or alter KDE OPTIONS structure.adaptedwafo.kdetools.kdeoptset
kdetools/kernelstats.mKERNELSTATS Return 2'nd order moment of kernel pdfimplementedwafo.kdetools.kernelstats
kdetools/mkernel.mMKERNEL Multivariate Kernel Function.adaptedwafo.kdetools.mkernel
kdetools/mkernel2.mMKERNEL2 Multivariate Kernel Function, alternative version.adaptedwafo.kdetools.mkernel2
kdetools/mkernelrnd.mMKERNELRND Random numbers from the Multivariate Kernel Function.adaptedwafo.kdetools.mkernelrnd
kdetools/qlevels.mQLEVELS Calculates quantile levels which encloses P% of PDFadaptedwafo.kdetools.qlevels
kdetools/qlevels2.mQLEVELS2 Calculates quantile levels which encloses P% of dataadaptedwafo.kdetools.qlevels2
kdetools/Readme.mREADME Readme file for module KDETOOLS in WAFO Toolbox.documentation-or-script
kdetools/sample.mSAMPLE Random sampling of points from a data-setadaptedwafo.kdetools.sample
kdetools/ssample.mSSAMPLE Random sampling from a smoothed empirical distributionadaptedwafo.kdetools.ssample
kdetools/vsph.mVSPH calculates volume of d-dimensional sphere with radius r0adaptedwafo.kdetools.vsph
m_map/Contents.mM_Map - mapping toolbox (Author: rich@eos.ubc.ca)documentation-or-script
m_map/m_coast.mM_COAST Add a coastline to a given map.adaptedwafo.m_map.m_coast
m_map/m_contour.mM_CONTOUR Draws contour lines on a mapadaptedwafo.m_map.m_contour
m_map/m_contourf.mM_CONTOURF Adds filled contours to a mapadaptedwafo.m_map.m_contourf
m_map/m_coord.mM_COORD Initializes the coordinate system for varous conversions.adaptedwafo.m_map.m_coord
m_map/m_demo.mM_DEMO Demonstration program showing various maps in M_Map packageimplementedwafo.m_map.m_demo
m_map/m_elev.mM_ELEV Contour elevation onto a map using a 1-degree databaseadaptedwafo.m_map.m_elev
m_map/m_etopo2.mM_ETOPO2 Contour elevation onto a map using the 2-minute ETOPO2 databaseadaptedwafo.m_map.m_etopo2
m_map/m_fdist.mM_FDIST - On an ellipsoidal earth, compute location ofadaptedwafo.m_map.m_fdist
m_map/m_geo2mag.mM_GEO2MAG Converts geographic to geomagnetic coordinates.adaptedwafo.m_map.m_geo2mag
m_map/m_geodesic.mM_GEODESIC - Compute points along geodesics of an ellipsoidal earth.adaptedwafo.m_map.m_geodesic
m_map/m_grid.mM_GRID make a grid on a map.adaptedwafo.m_map.m_grid
m_map/m_gshhs.mM_GSHHS Add a coastline to a given map usingadaptedwafo.m_map.m_gshhs
m_map/m_gshhs_c.mM_GSHHS_C Add a coastline to a given map using the 'crude' resolution ofadaptedwafo.m_map.m_gshhs_c
m_map/m_gshhs_f.mM_GSHHS_F Add a coastline to a given map using the 'full' resolution ofadaptedwafo.m_map.m_gshhs_f
m_map/m_gshhs_h.mM_GSHHS_H Add a coastline to a given map using the 'high' resolution ofadaptedwafo.m_map.m_gshhs_h
m_map/m_gshhs_i.mM_GSHHS_I Add a coastline to a given map using the 'intermediate' resolution ofadaptedwafo.m_map.m_gshhs_i
m_map/m_gshhs_l.mM_GSHHS_L Add a coastline to a given map using the 'low' resolution ofadaptedwafo.m_map.m_gshhs_l
m_map/m_hatch.mM_HATCH Draws hatched or speckled interiors to a patchadaptedwafo.m_map.m_hatch
m_map/m_idist.mM_IDIST - On an ellipsoidal earth, compute the distance betweenadaptedwafo.m_map.m_idist
m_map/m_legend.mM_LEGEND Add a legend to a map. This function does not have theadaptedwafo.m_map.m_legend
m_map/m_line.mM_LINE Create a line on a mapadaptedwafo.m_map.m_line
m_map/m_ll2xy.mM_LL2XY Converts long,lat to X,Y coordinates using the current projectionadaptedwafo.m_map.m_ll2xy
m_map/m_lldist.mM_LLDIST Spherical earth distance between points in long/lat coordinates.adaptedwafo.m_map.m_lldist
m_map/m_mag2geo.mM_MAG2GEO Converts magnetic to geographic coordinates.adaptedwafo.m_map.m_mag2geo
m_map/m_patch.mM_PATCH Create patches on a mapadaptedwafo.m_map.m_patch
m_map/m_pcolor.mM_PCOLOR Makes a pcolor image on a map.adaptedwafo.m_map.m_pcolor
m_map/m_plot.mM_PLOT Plot objects on an M_MAP plot. All of the normaladaptedwafo.m_map.m_plot
m_map/m_plotbndry.mM_PLOTBNDRY plots text files of Lat,Lon for political boundaries.adaptedwafo.m_map.m_plotbndry
m_map/m_proj.mM_PROJ Initializes map projections info, putting the result into a structureadaptedwafo.m_map.m_proj
m_map/m_quiver.mM_QUIVER Makes a quiverplot on a map (QUIVER-style)adaptedwafo.m_map.m_quiver
m_map/m_range_ring.mM_RANGE_RING Creates range rings on a mapadaptedwafo.m_map.m_range_ring
m_map/m_ruler.mM_RULER Draws a distance scalebar for a mapadaptedwafo.m_map.m_ruler
m_map/m_scale.mM_SCALE Draws the map at a specified scaleadaptedwafo.m_map.m_scale
m_map/m_tba2b.mM_TBA2B Converts the ASCII TerrainBase 5-minute bathymetry databaseadaptedwafo.m_map.m_tba2b
m_map/m_tbase.mM_TBASE Contour elevation onto a map using the 5-minute TerrainBase databaseadaptedwafo.m_map.m_tbase
m_map/m_text.mM_TEXT Text Annotationadaptedwafo.m_map.m_text
m_map/m_track.mM_TRACK Draw a trackline on a mapadaptedwafo.m_map.m_track
m_map/m_ungrid.mM_UNGRID Removes a grid;adaptedwafo.m_map.m_ungrid
m_map/m_usercoast.mM_USERCOAST Add a coastline using a user-specified coastline file.adaptedwafo.m_map.m_usercoast
m_map/m_vec.mM_VEC Draws fancy arrows/quiverplots on a map.adaptedwafo.m_map.m_vec
m_map/m_xy2ll.mM_XY2LL Converts X,Y to long,lat coordinates using the current projectionadaptedwafo.m_map.m_xy2ll
m_map/m_xydist.mM_XYDIST Spherical earth distance between points in map projection coordinates.adaptedwafo.m_map.m_xydist
m_map/private/clabel.mCLABEL Contour plot elevation labels.adaptedwafo.m_map.clabel
m_map/private/mc_coords.mMP_COORD Converts between coordinate systems based on differentadaptedwafo.m_map.mc_coords
m_map/private/mc_ellips.mDefinitions of different ellipsoidsadaptedwafo.m_map.mc_ellips
m_map/private/mp_azim.mMP_AZIM Azimuthal projectionsadaptedwafo.m_map.mp_azim
m_map/private/mp_conic.mMP_CONIC Conic projectionsadaptedwafo.m_map.mp_conic
m_map/private/mp_cyl.mMP_CYL Cylindrical projectionsadaptedwafo.m_map.mp_cyl
m_map/private/mp_omerc.mMP_TMERC Oblique Mercator projectionadaptedwafo.m_map.mp_omerc
m_map/private/mp_tmerc.mMP_TMERC Transverse Mercator projectionadaptedwafo.m_map.mp_tmerc
m_map/private/mp_utm.mMP_UTM Universal Transverse Mercator projectionadaptedwafo.m_map.mp_utm
m_map/private/mu_coast.mMU_COAST Add a coastline to a given map.adaptedwafo.m_map.mu_coast
m_map/private/mu_util.mMU_UTIL Various utility routinesadaptedwafo.m_map.mu_util
markov/arfm2mctp.mARFM2MCTP Calculates the markov matrix given an asymmetric rainflow matrix.adaptedwafo.markov.arfm2mctp
markov/chi2cmat.mCHI2CMAT Chi-square distance of cycle matrix.implementedwafo.markov.chi2cmat
markov/Contents.mModule MARKOV in WAFO Toolbox.documentation-or-script
markov/estmc.mESTMC estimates transition matrix P from a time series of a Markov chain.implementedwafo.markov.estmc
markov/estsmctp.mESTSMCTP Estimate SMCTP model from an observed rainflow matrix.adaptedwafo.markov.estsmctp
markov/f_funm.mF_FUNM Calculate min-max matrix for Model-structure.implementedwafo.markov.f_funm
markov/f_smctp.mF_SMCTP Auxiliary function used by ESTSMCTPadaptedwafo.markov.f_smctp
markov/hdcmat.mHDCMAT Hellinger distance of cycle matrix.implementedwafo.markov.hdcmat
markov/hmmplot.mHMMPLOT plots a Hidden Markov Model.adaptedwafo.markov.hmmplot
markov/klcmat.mKLCMAT Kullback-Leibler distance of cycle matrix.implementedwafo.markov.klcmat
markov/loglcmat.mLOGLCMAT log-Likelihood of cycle matrix.implementedwafo.markov.loglcmat
markov/mat2tmat.mMAT2TMAT Converts a matrix to a transition matrix.implementedwafo.markov.mat2tmat
markov/mc2rfm.mMC2RFM Calculates the rainflow matrix/intensity for a Markov chain.adaptedwafo.markov.mc2rfm
markov/mc2stat.mMC2STAT Calculates the stationary distribution for a Markov chain.implementedwafo.markov.mc2stat
markov/mctp2arfm.mMCTP2ARFM Calculates asymmetric rainflow matrix for a MCTP.adaptedwafo.markov.mctp2arfm
markov/mctp2reverse.mMCTP2REVERSE Calculates the time-reversed MCTP for a SMCTP.implementedwafo.markov.mctp2reverse
markov/mctp2rfm.mMCTP2RFM Calculates the rainflow matrix for a MCTP.implementedwafo.markov.mctp2rfm
markov/mctp2stat.mMCTP2STAT Calculates the stationary distribution for a MCTP.implementedwafo.markov.mctp2stat
markov/mktestmat.mMKTESTMAT Makes test matrices for min-max (and max-min) matrices.implementedwafo.markov.mktestmat
markov/Readme.mREADME Readme file for module MARKOV in WAFO Toolbox.documentation-or-script
markov/scalemat.mSCALEMAT Scale and translate a cycle matrix.adaptedwafo.markov.scalemat
markov/smc2rfm.mSMC2RFM Calculates the rainflow matrix/intensity for a switching Markov chain.adaptedwafo.markov.smc2rfm
markov/smctp2arfm.mSMCTP2ARFM Calculates the asymmetric rainflow matrix for a SMCTP.adaptedwafo.markov.smctp2arfm
markov/smctp2joint.mSMCTP2JOINT Calculates the joint MCTP for a SMCTP.implementedwafo.markov.smctp2joint
markov/smctp2rfm.mSMCTP2RFM Calculates the rainflow matrix for a SMCTP.implementedwafo.markov.smctp2rfm
markov/smctp2stat.mSMCTP2STAT Stationary distributions for a switching MCTP.implementedwafo.markov.smctp2stat
markov/test/test_markov.mTEST_MARKOV Quick test of the routines in module 'markov'documentation-or-script
markov/tr_m2x.mTR_M2X Transform Model-structure to X-vector.implementedwafo.markov.tr_m2x
markov/tr_p2x.mTR_P2X Transform P-matrix to X-vectorimplementedwafo.markov.tr_p2x
markov/tr_x2m.mTR_X2M Transform X-vector to Model-structure.implementedwafo.markov.tr_x2m
markov/tr_x2p.mTR_X2P Transforms a vector X to a transition matrix P.implementedwafo.markov.tr_x2p
misc/binom.mBINOM calculates the binomial coefficient n!/((n-m)!*m!)implementedwafo.misc.binom
misc/ccquad.mCCQUAD Numerical integration using a Clenshaw-Curtis quadrature.adaptedwafo.misc.ccquad
misc/choices.mCHOICES Create a list of choices with uicontrols and callbacks.adaptedwafo.misc.choices
misc/choicex.mCHOICEX Close a list of choices.adaptedwafo.misc.choicex
misc/clevels.mCLEVELS Extract the contour levels from the contour matrixadaptedwafo.misc.clevels
misc/cltext.mCLTEXT Places contour level text in the current windowadaptedwafo.misc.cltext
misc/comnsize.mCOMNSIZE Check if all input arguments are either scalar or of common size.adaptedwafo.misc.comnsize
misc/Contents.mModule MISC in WAFO Toolbox.documentation-or-script
misc/convlv.mCONVLV Convolves real data set with a response function.adaptedwafo.misc.convlv
misc/csort.mCSORT Counting sortingimplementedwafo.misc.csort
misc/fcolorbar.mFCOLORBAR Display colorbar with discrete color axis for filled contour plotadaptedwafo.misc.fcolorbar
misc/figtext.mFIGTEXT Places text in figure window.adaptedwafo.misc.figtext
misc/findpeaks.mFINDPEAKS find peaks of vector or matrix possibly rainflow filteredadaptedwafo.misc.findpeaks
misc/fwaitbar.mFWAITBAR Fast display of wait bar.adaptedwafo.misc.fwaitbar
misc/gaussq.mGAUSSQ Numerically evaluates a integral using a Gauss quadrature.adaptedwafo.misc.gaussq
misc/gaussq2d.mGAUSSQ2D Numerically evaluates a 2D integral using Gauss quadrature.adaptedwafo.misc.gaussq2d
misc/genchol.mGENCHOL Generalized Cholesky factorizationadaptedwafo.misc.genchol
misc/geth1line.mGETH1LINE Extracts the first comment line (the H1 line) of a m-fileadaptedwafo.misc.geth1line
misc/gravity.mGRAVITY returns the constant acceleration of gravityimplementedwafo.misc.gravity
misc/hypgf.mHYPGF Hypergeometric function F(a,b,c,x)implementedwafo.misc.hypgf
misc/levels.mLEVELS Calculates discrete levels given the parameter matrix.implementedwafo.misc.levels
misc/loaddata.mLOADDATA Loads a matrix from a text file.implementedwafo.misc.loaddata
misc/maximizefigs.mMAXIMIZEFIGS Maximize figure(s) window sizeadaptedwafo.misc.maximizefigs
misc/mkcontents.mMKCONTENTS Makes Contents file in current working directory.adaptedwafo.misc.mkcontents
misc/parseoptions.mPARSEOPTIONS Create or alter a OPTIONS structure.adaptedwafo.misc.parseoptions
misc/qrule.mQRULE compute abscissas and weight factors for Gaussian quadraturesimplementedwafo.misc.qrule
misc/qrule2d.mQRULE2D compute abscissas and weight factors for Gaussian quadraturesadaptedwafo.misc.qrule2d
misc/readme.mREADME Readme file for module MISC in WAFO Toolboxdocumentation-or-script
misc/savgol.mSAVGOL Savitzky-Golay filter coefficients.adaptedwafo.misc.savgol
misc/simpson.mSIMPSON Numerical integration with the Simpson methodimplementedwafo.misc.simpson
misc/sinc.mSINC Sin(pi*x)/(pi*x) function.implementedwafo.misc.sinc
misc/smooth.mSMOOTH Calculates a smoothing spline.adaptedwafo.misc.smooth
misc/wafostamp.mWAFOSTAMP Prints a caption "made by WAFO" in current figure.adaptedwafo.misc.wafostamp
misc/wafoversion.mWAFOVERSION Wave Analysis for Fatigue and Oceanography version.adaptedwafo.misc.wafoversion
misc/wdensity.mWDENSITY Returns the water densityimplementedwafo.misc.wdensity
multidim/Contents.mModule MULTIDIM in WAFO Toolbox.documentation-or-script
multidim/dat2dspec.mDAT2DSPEC Estimates the directional wave spectrum from timeseriesadaptedwafo.multidim.dat2dspec
multidim/dspec2spreading.mDSPEC2SPREADING Returns the directional spreading function D of Simplementedwafo.multidim.dspec2spreading
multidim/fourier.mFOURIER Returns Fourier coefficients.implementedwafo.multidim.fourier
multidim/private/bfsspec.mBFSSPEC Estimate frequency spectrum for the surface elevation from the bfs timeseriesadaptedwafo.multidim.bfsspec
multidim/private/Contents.mprivate Module to MULTIDIM in WAFO Toolboxdocumentation-or-script
multidim/private/emem.mEMEM Extended Maximum Entropy Methodadaptedwafo.multidim.emem
multidim/private/getcrossspectra.mGETCROSSSPECTRA Compute the cross spectra by integrationadaptedwafo.multidim.getcrossspectra
multidim/private/hwestimate.mHWESTIMATE Estimate absolute value of transfer function H(w) from sensor spectraadaptedwafo.multidim.hwestimate
multidim/private/imlm.mIMLM Iterated maximum likelihood method for estimating the directional distributionadaptedwafo.multidim.imlm
multidim/private/mem.mMEM maximum entropy method for estimating the directional distributionadaptedwafo.multidim.mem
multidim/private/memfun.mMEMFUN private function for MEMadaptedwafo.multidim.memfun
multidim/private/mlm.mMLM maximum likelihood method for estimating the directional distributionadaptedwafo.multidim.mlm
multidim/private/normspfn.mNORMSPFN normalizes the spreading functionadaptedwafo.multidim.normspfn
multidim/ratio.mRATIO compute ratio of hyperbolic functionsimplementedwafo.multidim.ratio
multidim/sensortype.mSENSORTYPE Return sensortype nameimplementedwafo.multidim.sensortype
multidim/sensortypeid.mSENSORTYPEID Return ID for sensortype nameimplementedwafo.multidim.sensortypeid
multidim/specoptset.mSPECOPTSET Create or alter SPECTRUM OPTIONS structure.adaptedwafo.multidim.specoptset
multidim/testbuoy.mTESTBUOY creates a test case for a buoy measurementadaptedwafo.multidim.testbuoy
multidim/testmeasurements.mTESTMEASUREMENTS Creates a test case for measurement time seriesadaptedwafo.multidim.testmeasurements
multidim/testsurf.mTESTSURF creates a test case for a surface elevation measurementadaptedwafo.multidim.testsurf
multidim/tran.mTRAN Computes transfer functions based on linear wave theoryimplementedwafo.multidim.tran
onedim/Contents.mModule ONEDIM in WAFO Toolbox.documentation-or-script
onedim/covplot.mCOVPLOT Plots the auto covariance function (ACF) 1D or 2D.adaptedwafo.onedim.covplot
onedim/dat2cor.mDAT2COR Estimate auto correlation function from data.adaptedwafo.onedim.dat2cor
onedim/dat2cov.mDAT2COV Estimate auto covariance function from data.adaptedwafo.onedim.dat2cov
onedim/dat2crossind.mDAT2CROSSIND Finds indices to level v down and/or upcrossings from dataadaptedwafo.onedim.dat2crossind
onedim/dat2lc.mDAT2LC Extracts level-crossing spectrum from data,implementedwafo.onedim.dat2lc
onedim/dat2midind.mDAT2MIDIND Finds indices to midpoints between a min and Max and Max and min.adaptedwafo.onedim.dat2midind
onedim/dat2spec.mDAT2SPEC Estimate one-sided spectral density from data.adaptedwafo.onedim.dat2spec
onedim/dat2spec2.mDAT2SPEC2 Estimate one-sided spectral density, version 2.adaptedwafo.onedim.dat2spec2
onedim/dat2steep.mDAT2STEEP Extracts waveheights and steepnesses from data.adaptedwafo.onedim.dat2steep
onedim/dat2tc.mDAT2TC Extracts troughs and crests from data.adaptedwafo.onedim.dat2tc
onedim/dat2tp.mDAT2TP Extracts turning points from data,implementedwafo.onedim.dat2tp
onedim/dat2wa.mDAT2WA Extracts sequence of wavelengths from data.adaptedwafo.onedim.dat2wa
onedim/detrendma.mDETRENDMA Removes a trend from data using a moving averageadaptedwafo.onedim.detrendma
onedim/ecross.mECROSS Extracts exact level v crossingsimplementedwafo.onedim.ecross
onedim/findcross.mFINDCROSS Finds indices to level v up and downcrossings of a vectorimplementedwafo.onedim.findcross
onedim/findextrema.mFINDEXTREMA Finds indices to minima and maxima of dataimplementedwafo.onedim.findextrema
onedim/findoutliers.mFINDOUTLIERS Finds the indices to spurious points in a timeseriesadaptedwafo.onedim.findoutliers
onedim/findrfc.mFINDRFC Finds indices to rainflow cycles of a sequence of TP.implementedwafo.onedim.findrfc
onedim/hs2sign.mHS2SIGN Calculates a ratio-significant value of a histogram.adaptedwafo.onedim.hs2sign
onedim/lcplot.mLCPLOT Plots level-crossing spectrum (lc)adaptedwafo.onedim.lcplot
onedim/mm2lc.mMM2LC Extracts level-crossing spectrum from min2Max cycles.adaptedwafo.onedim.mm2lc
onedim/private/bingham.mBINGHAM returns the N-point Bingham window in a column vector.adaptedwafo.onedim.bingham
onedim/private/hanning.mHANNING returns the N-point Hanning window in a column vector.adaptedwafo.onedim.hanning
onedim/private/parzen.mPARZEN returns the N-point Parzen window in a column vector.adaptedwafo.onedim.parzen
onedim/Readme.mREADME Readme file for module ONEDIM in WAFO Toolbox.documentation-or-script
onedim/reconstruct.mRECONSTRUCT reconstruct the spurious/missing points of timeseriesadaptedwafo.onedim.reconstruct
onedim/spwaveplot.mSPWAVEPLOT Plots specified waves from a timeseriesadaptedwafo.onedim.spwaveplot
onedim/vc2sign.mVC2SIGN Calculates ratio-significant value of the input vector.adaptedwafo.onedim.vc2sign
onedim/waveplot.mWAVEPLOT Plots the surface elevation of timeseries.adaptedwafo.onedim.waveplot
papers/Contents.mModule PAPERS in WAFO Toolbox.documentation-or-script
papers/papermenu.mPAPERMENU displays a user interface to the paper scripts of WAFOadaptedwafo.papers.papermenu
papers/rec/Contents.mPaper REC in WAFO Toolbox.documentation-or-script
papers/rec/recdemo.mRECDEMO Show Rec figures with point and click interfaceadaptedwafo.papers.recdemo
papers/rec/recfig.mRECFIG callback implementing functions of RecDemoadaptedwafo.papers.recfig
papers/rec/recfig1.mRECFIG1 Location of Gullfaks C and Statfjord A platforms in The North Seaadaptedwafo.papers.recfig1
papers/rec/recfig10.mRECFIG10 Joint distribution of V and H:adaptedwafo.papers.recfig10
papers/rec/recfig11.mRECFIG11 Probability of exceeding H: Model (dash); data (dots)adaptedwafo.papers.recfig11
papers/rec/recfig12.mRECFIG12 Probability of exceeding V: Model (dash); data (dots)adaptedwafo.papers.recfig12
papers/rec/recfig13.mRECFIG13 The conditional probability of exceeding V given H: Model (dash); data (dots)adaptedwafo.papers.recfig13
papers/rec/recfig2.mRECFIG2 10 minutes mean values of wind (dash) and direction (solid)adaptedwafo.papers.recfig2
papers/rec/recfig3.mRECFIG3 Example of the reconstructed (solid) and original data set (pluses)adaptedwafo.papers.recfig3
papers/rec/recfig4.mRECFIG4 Estimated spectral density (solid) and 95% confidence intervals (dots)adaptedwafo.papers.recfig4
papers/rec/recfig5.mRECFIG5 Transfer function, g, versus the crossing level uadaptedwafo.papers.recfig5
papers/rec/recfig6.mRECFIG6 Variability of simulated e(g(u)-u) (circles)adaptedwafo.papers.recfig6
papers/rec/recfig7.mRECFIG7 Estimated Weibull scale parameter versus h=H/Hrms (circles)adaptedwafo.papers.recfig7
papers/rec/recfig8.mRECFIG8 Estimated Weibull shape parameter versus h=H/Hrms (circles)adaptedwafo.papers.recfig8
papers/rec/recfig9.mRECFIG9 Conditional mean (solid, circle) and standard deviation (dash,cross) of V given H:adaptedwafo.papers.recfig9
papers/rec/recinit.mRECINIT setup all global variables of the RECDEMOadaptedwafo.papers.recinit
papers/rec/recintro.mRECINTRO Info about RECDEMO: A statistical procedure for reconstruction of 1D signals.adaptedwafo.papers.recintro
papers/rec/recleanup.mRECLEANUP Clears global variables defined and used by the RECDEMOadaptedwafo.papers.recleanup
papers/tutorcom/Chapter1.mCHAPTER1 demonstrates some applications of WAFOdocumentation-or-script
papers/tutorcom/Chapter2.mCHAPTER2 Modelling random loads and stochastic wavesdocumentation-or-script
papers/tutorcom/Chapter3.mCHAPTER3 Demonstrates distributions of wave characteristicsdocumentation-or-script
papers/tutorcom/Chapter4.mCHAPTER4 contains the commands used in Chapter 4 of the tutorialdocumentation-or-script
papers/tutorcom/Chapter5.mCHAPTER5 contains the commands used in Chapter 5 of the tutorialdocumentation-or-script
papers/tutorcom/Contents.mPaper TUTORCOM in WAFO Toolbox.documentation-or-script
papers/wafodemo/Contents.mPaper WAFODEMO in WAFO Toolbox.documentation-or-script
papers/wafodemo/wafocleanup.mWAFOCLEANUP Clears global variables defined and used by the WAFODEMOadaptedwafo.papers.wafocleanup
papers/wafodemo/wafodemo.mWAFODEMO Show WAFO figures with point and click interfaceadaptedwafo.papers.wafodemo
papers/wafodemo/wafofig.mWAFOFIG callback implementing functions of WAFODEMOadaptedwafo.papers.wafofig
papers/wafodemo/wafofig1.mWAFOFIG1 Linear simulation from a Torsethaugen spectrum.adaptedwafo.papers.wafofig1
papers/wafodemo/wafofig10.mWAFOFIG10 Intensity of trough-crest cycles computed from Stadaptedwafo.papers.wafofig10
papers/wafodemo/wafofig2.mWAFOFIG2 Spectral densities:adaptedwafo.papers.wafofig2
papers/wafodemo/wafofig3.mWAFOFIG3 Probability density distributions (pdf) of wave period, Tt,adaptedwafo.papers.wafofig3
papers/wafodemo/wafofig4.mWAFOFIG4 Directional spectra using Thorsethaugen and cos2s spreadingadaptedwafo.papers.wafofig4
papers/wafodemo/wafofig5.mWAFOFIG5 Joint distribution (pdf) of crest front velocity and wave height:adaptedwafo.papers.wafofig5
papers/wafodemo/wafofig6.mWAFOFIG6 Joint distribution (pdf) of crest front period, Tcf, and crest amplitude, Acadaptedwafo.papers.wafofig6
papers/wafodemo/wafofig7.mWAFOFIG7 Joint distribution (pdf) of crest wavelength, Lc, and crest amplitude, Acadaptedwafo.papers.wafofig7
papers/wafodemo/wafofig8.mWAFOFIG8 Joint distribution (pdf) of crest wavelength, Lc, and crest amplitude, Ac for extremal wavesadaptedwafo.papers.wafofig8
papers/wafodemo/wafofig9.mWAFOFIG9 Intensity of rainflow cycles computed from Stadaptedwafo.papers.wafofig9
papers/wafodemo/wafoinit.mWAFOINIT setup all global variables of the WAFODEMOadaptedwafo.papers.wafoinit
papers/wafodemo/wafointro.mWAFOINTRO Info about WAFODEMO: WAFO - a Matlab toolbox for analysis of random waves and loadsadaptedwafo.papers.wafointro
parzen.mPARZEN returns the N-point Parzen window in a column vector.adaptedwafo.root.parzen
pathdef.mPATHDEF Search path defaults.adaptedwafo.root.pathdef
Readme.mREADME Readme file for WAFO Toolbox - Wave Analysis for Fatigue and Oceanographydocumentation-or-script
spec/Contents.mModule SPEC in WAFO Toolbox.documentation-or-script
spec/cov2spec.mCOV2SPEC Computes spectral density given the auto covariance functionadaptedwafo.spec.cov2spec
spec/covinterp.mCOVINTERP Interpolation of covariance function and derivativesadaptedwafo.spec.covinterp
spec/createcov.mCREATECOV Covariance class constructoradaptedwafo.spec.createcov
spec/createspec.mCREATESPEC Spectrum structure constructorimplementedwafo.spec.createspec
spec/demospec.mDEMOSPEC Loads a precreated spectrum of chosen typeadaptedwafo.spec.demospec
spec/dspec2char.mDSPEC2CHAR Evaluates directional spectral characteristicsimplementedwafo.spec.dspec2char
spec/freqtype.mFREQTYPE returns the frequency type of a Spectral density struct.adaptedwafo.spec.freqtype
spec/getjonswappeakedness.mGETJONSWAPPEAKEDNESS Peakedness factor Gamma given Hm0 and Tp for JONSWAPimplementedwafo.spec.getjonswappeakedness
spec/jonswap.mJONSWAP Calculates (and plots) a JONSWAP spectral densityimplementedwafo.spec.jonswap
spec/k2w.mK2W Translates from wave number to frequencyimplementedwafo.spec.k2w
spec/lagtype.mLAGTYPE Returns the lag type of a Covariance struct.adaptedwafo.spec.lagtype
spec/mccormick.mMCCORMICK Calculates (and plots) a McCormick spectral density.implementedwafo.spec.mccormick
spec/mkdspec.mMKDSPEC Make a directional spectrumadaptedwafo.spec.mkdspec
spec/ohspec.mOHSPEC Calculates (and plots) a Ochi-Hubble spectral density.implementedwafo.spec.ohspec
spec/ohspec2.mOHSPEC2 Calculates and plots a bimodal Ochi-Hubble spectral densityimplementedwafo.spec.ohspec2
spec/ohspec3.mOHSPEC3 Calculates Bimodal Ochi-Hubble spectral densitiesimplementedwafo.spec.ohspec3
spec/oscspec.mOSCSPEC Spectral density for a harmonic oscillatorimplementedwafo.spec.oscspec
spec/phi1.mPHI1 factor for transforming spectra to finite water depth spectraadaptedwafo.spec.phi1
spec/pmspec.mPMSPEC Calculates (and plots) a Pierson-Moskowitz spectral density.implementedwafo.spec.pmspec
spec/polplot.mdocumentation-or-script
spec/private/dir2enc.mDIR2ENC Transform a dir. spectrum to an encountered. (Used in spec2spec)adaptedwafo.spec.dir2enc
spec/private/dir2k1d.mDIR2K1D Transforms directional spectrum to wavenumber spectrum.adaptedwafo.spec.dir2k1d
spec/private/dspec2dcov.mDSPEC2DCOV Return covariance function given a directional spectrumadaptedwafo.spec.dspec2dcov
spec/private/spa2time.mSPA2TIME Transform of spectrum from wave no. to frequency (used in spec2spec)adaptedwafo.spec.spa2time
spec/private/time2spa.mTIME2SPA Transform of spectrum from frequency to wave no. (used in spec2spec)adaptedwafo.spec.time2spa
spec/Readme.mREADME Readme file for module SPEC in WAFO Toolboxdocumentation-or-script
spec/rotspec.mROTSPEC Rotate spectrum anti-clockwise around the origin.adaptedwafo.spec.rotspec
spec/scalespec.mSCALESPEC Scale spectral density so that the moments equals m0,m2.adaptedwafo.spec.scalespec
spec/spec2bw.mSPEC2BW Evaluates some spectral bandwidth and irregularity factorsimplementedwafo.spec.spec2bw
spec/spec2char.mSPEC2CHAR Evaluates spectral characteristics and their covarianceadaptedwafo.spec.spec2char
spec/spec2cov.mSPEC2COV Computes covariance function and its derivativesadaptedwafo.spec.spec2cov
spec/spec2cov2.mSPEC2COV2 Computes covariance function and its derivatives, alternative versionadaptedwafo.spec.spec2cov2
spec/spec2dt.mSPEC2DT Computes sampling interval from Nyquist frequency in spectrumimplementedwafo.spec.spec2dt
spec/spec2mom.mSPEC2MOM Calculates spectral moments from spectrumimplementedwafo.spec.spec2mom
spec/spec2spec.mSPEC2SPEC Transforms between different types of spectraadaptedwafo.spec.spec2spec
spec/specdiag.mSPECDIAG Diagonalize a 2 x 2 spectral matrix.implementedwafo.spec.specdiag
spec/specinterp.mSPECINTERP Interpolation and zero-padding of spectrumadaptedwafo.spec.specinterp
spec/spreading.mSPREADING Directional spreading functionsadaptedwafo.spec.spreading
spec/tmaspec.mTMASPEC Calculates a JONSWAP spectral density for finite water depthadaptedwafo.spec.tmaspec
spec/torsethaugen.mTORSETHAUGEN Calculates a double peaked (swell + wind) spectrumimplementedwafo.spec.torsethaugen
spec/ttspec.mTTSPEC Toggle Transform between angular frequency and frequency spectrumadaptedwafo.spec.ttspec
spec/w2k.mW2K Translates from frequency to wave numberimplementedwafo.spec.w2k
spec/wallop.mWALLOP Calculates (and plots) a Wallop spectral density.implementedwafo.spec.wallop
spec/wnormspec.mWNORMSPEC Normalize a spectral density such that m0=m2=1adaptedwafo.spec.wnormspec
spec/wspecplot.mWSPECPLOT Plot a spectral densityadaptedwafo.spec.wspecplot
trgauss/bvnormcdf.mBVNORMCDF Bivariate Normal cumulative distribution functionadaptedwafo.trgauss.bvnormcdf
trgauss/bvnormprb.mBVNORMPRB Bivariate Normal probabilityadaptedwafo.trgauss.bvnormprb
trgauss/cdf2tr.mCDF2TR Estimate transformation, g, from observed CDF.adaptedwafo.trgauss.cdf2tr
trgauss/chitwo2lc_sorm.mCHITWO2LC_SORM SORM-approximation of the crossing intensity for the noncentral Chi^2 processadaptedwafo.trgauss.chitwo2lc_sorm
trgauss/chitwo2lc_sp.mCHITWO2LC_SP Saddlepoint approximation of the crossing intensity for the noncentral Chi^2 processadaptedwafo.trgauss.chitwo2lc_sp
trgauss/Contents.mModule TRGAUSS in WAFO Toolbox.documentation-or-script
trgauss/createpdf.mCREATEPDF PDF class constructoradaptedwafo.trgauss.createpdf
trgauss/dat2gaus.mDAT2GAUS Transforms x using the transformation g.adaptedwafo.trgauss.dat2gaus
trgauss/dat2tr.mDAT2TR Estimate transformation, g, from data.adaptedwafo.trgauss.dat2tr
trgauss/dirsp2chitwo.mDIRSP2CHITWO gives parameters in non-central CHI-TWO process for directional Stokes waves.adaptedwafo.trgauss.dirsp2chitwo
trgauss/gaus2dat.mGAUS2DAT Transforms xx using the inverse of transformation g.adaptedwafo.trgauss.gaus2dat
trgauss/hermitetr.mHERMITETR Calculate transformation, g, proposed by Wintersteinadaptedwafo.trgauss.hermitetr
trgauss/initoptions.mINITOPTIONS Initializes RIND options according to speed.adaptedwafo.trgauss.initoptions
trgauss/iter.mITER Calculates a Markov matrix given a rainflow matrixadaptedwafo.trgauss.iter
trgauss/iter_mc.mITER_MC Calculates a kernel of a MC given a rainflow matrixadaptedwafo.trgauss.iter_mc
trgauss/lc2tr.mLC2TR Estimate transformation, g, from observed crossing intensity.adaptedwafo.trgauss.lc2tr
trgauss/lc2tr2.mLC2TR2 Estimate transformation, g, from observed crossing intensity, version2.adaptedwafo.trgauss.lc2tr2
trgauss/lomaxcdf.mLOMAXCDF CDF for local maxima for a zero-mean Gaussian processimplementedwafo.trgauss.lomaxcdf
trgauss/mc2rfc.mMC2RFC Calculates a rainflow matrix given a Markov chain with kernel f_xy;adaptedwafo.trgauss.mc2rfc
trgauss/mctp2rfc.mMCTP2RFC Rainflow matrix given a Markov matrix of a Markov chain of turning pointsadaptedwafo.trgauss.mctp2rfc
trgauss/mctp2tc.mMCTP2TC Frequencies of upcrossing troughs and crests using Markov chain of turning points.adaptedwafo.trgauss.mctp2tc
trgauss/mctrtest.mMCTRTEST Test if a stochastic process is Gaussian.adaptedwafo.trgauss.mctrtest
trgauss/mvnormpcprb.mMVNORMPCPRB Multivariate Normal probabilities with product correlationadaptedwafo.trgauss.mvnormpcprb
trgauss/mvnormprb.mMVNORMPRB Multivariate Normal probability by Genz' algorithm.adaptedwafo.trgauss.mvnormprb
trgauss/mvnortpcprb.mMVNORTPCPRB Multivariate normal or student T probability with product correlation structure.adaptedwafo.trgauss.mvnortpcprb
trgauss/nt2fr.mNT2FR Calculates the frequency matrix given the counting distribution matrix.adaptedwafo.trgauss.nt2fr
trgauss/ochitr.mOCHITR Calculates transformation, g, proposed by Ochi et al.adaptedwafo.trgauss.ochitr
trgauss/pdfplot.mPDFPLOT Plot contents of pdf structuresadaptedwafo.trgauss.pdfplot
trgauss/private/Contents.mprivate Module to TRGAUSS in WAFO Toolboxdocumentation-or-script
trgauss/private/ewwdir.mEWWDIR Computes values of the quadratic transfer function E, for quadratic seaadaptedwafo.trgauss.ewwdir
trgauss/private/hermitefun.mHERMITEFUN Calculates the transformation by a Hermite polynomial.adaptedwafo.trgauss.hermitefun
trgauss/private/holmberg1.mHOLMBERG1 Computes moments for higher order reliability methods.adaptedwafo.trgauss.holmberg1
trgauss/private/holmberg2.mHOLMBERG2 Computes moments for higher order reliability methods.adaptedwafo.trgauss.holmberg2
trgauss/private/holmberg3.mHOLMBERG3 Computes moments for higher order reliability methods.adaptedwafo.trgauss.holmberg3
trgauss/private/holmquist1.mHOLMQUIST1 Computes moments for higher order reliability methods.adaptedwafo.trgauss.holmquist1
trgauss/private/holmquist2.mHOLMQUIST2 Computes moments for higher order reliability methods.adaptedwafo.trgauss.holmquist2
trgauss/private/holmquist3.mHOLMQUIST3 Computes moments for higher order reliability methods.adaptedwafo.trgauss.holmquist3
trgauss/private/kchitwo.mKCHITWO Computes the cumulant generating function formula for noncentral Chi2-process.adaptedwafo.trgauss.kchitwo
trgauss/private/mexGenzMvnPrb.mMEXGENZMVNPRB Computes multivariate normal probability by Genz' algorithmadaptedwafo.trgauss.mexGenzMvnPrb
trgauss/private/mexmvnprb.mMEXMVNPRB Computes multivariate normal probability by Genz' algorithmadaptedwafo.trgauss.mexmvnprb
trgauss/private/mexmvnprb2.mMEXMVNPRB2 Computes multivariate normal probability by Genz' algorithmadaptedwafo.trgauss.mexmvnprb2
trgauss/private/mindist.mMINDIST Finds minimal distance to the origin on the surface b'*x+x'*diag(g)*x=uadaptedwafo.trgauss.mindist
trgauss/private/mindist3.mMINDIST3 Finds point of minimal distance to the origin on the surface b'*x+g'*x.^2=u.adaptedwafo.trgauss.mindist3
trgauss/private/mvnprodcorrprbmex.mMVNPRODCORRPRBMEX Computes multivariate normal probabilitydocumentation-or-script
trgauss/private/ochifun.mOCHIFUN Calculates the transformation g proposed by Ochi et al.adaptedwafo.trgauss.ochifun
trgauss/private/rfadd.mRFADD Addition of two rational functionsadaptedwafo.trgauss.rfadd
trgauss/private/rqlf_asympt.mRQLF_ASYMPT Gives first two terms in an asymptotic expansion of theadaptedwafo.trgauss.rqlf_asympt
trgauss/private/wminmax.mWMINMAX Calculates joint density of minimum and following maximumadaptedwafo.trgauss.wminmax
trgauss/private/writecov.mWRITECOV Calculates spline coefficients for the covariance andadaptedwafo.trgauss.writecov
trgauss/Readme.mREADME Readme file for module TRGAUSS in WAFO Toolbox.documentation-or-script
trgauss/rind.mRIND Computes multivariate normal expectationsadaptedwafo.trgauss.rind
trgauss/rindoptset.mRINDOPTSET Create or alter RIND OPTIONS structure.adaptedwafo.trgauss.rindoptset
trgauss/spec2AcAt.mSPEC2ACAT Evaluates survival function R(h1,h2)=P(Ac>h1,At>h2).adaptedwafo.trgauss.spec2AcAt
trgauss/spec2Acdf.mSPEC2ACDF Evaluates cdf of crests P(Ac<=h) or troughs P(At<=h).adaptedwafo.trgauss.spec2Acdf
trgauss/spec2cmat.mSPEC2CMAT Joint intensity matrix for cycles (max,min)-, rainflow- and (crest,trough)adaptedwafo.trgauss.spec2cmat
trgauss/spec2mmtpdf.mSPEC2MMTPDF Calculates joint density of Maximum, minimum and period.adaptedwafo.trgauss.spec2mmtpdf
trgauss/spec2skew.mSPEC2SKEW Estimates the moments of 2'nd order non-linear wavesadaptedwafo.trgauss.spec2skew
trgauss/spec2tccpdf.mSPEC2TCCPDF Evaluates densities of wave period Tcc, wave lenght Lcc.adaptedwafo.trgauss.spec2tccpdf
trgauss/spec2thpdf.mSPEC2THPDF Joint density of amplitude and period/wave-length characteristicsadaptedwafo.trgauss.spec2thpdf
trgauss/spec2tpdf.mSPEC2TPDF Evaluates densities for crest-,trough-period, length.adaptedwafo.trgauss.spec2tpdf
trgauss/spec2tpdf2.mSPEC2TPDF2 Evaluates densities for various wave periods or wave lengthsadaptedwafo.trgauss.spec2tpdf2
trgauss/specq2lc.mSPECQ2LC Saddlepoint approximation of the crossing intensity for the quadratic sea.adaptedwafo.trgauss.specq2lc
trgauss/th2vhpdf.mTH2VHPDF Transform joint T-H density to V-H densityadaptedwafo.trgauss.th2vhpdf
trgauss/trangood.mTRANGOOD Makes a transformation that is suitable for efficient transforms.adaptedwafo.trgauss.trangood
trgauss/tranproc.mTRANPROC Transforms process X and up to four derivativesadaptedwafo.trgauss.tranproc
trgauss/trmak.mTRMAK Put together a transformation object.adaptedwafo.trgauss.trmak
trgauss/troptset.mTROPTSET Create or alter TRANSFORM OPTIONS structure.adaptedwafo.trgauss.troptset
trgauss/trplot.mTRPLOT Plots transformation, g, eg. estimated with dat2tr.adaptedwafo.trgauss.trplot
trgauss/trunmak.mTRUNMAK Split a transformation object into its pieces.adaptedwafo.trgauss.trunmak
wafoexepath.mWAFOEXEPATH Returns the path to executables for the WAFO Toolboxadaptedwafo.root.wafoexepath
wafopath.mWAFOPATH Adds or removes WAFO subdirectories from the search path.adaptedwafo.root.wafopath
waforoot.mWAFOROOT Root directory of WAFO installation.adaptedwafo.root.waforoot
wavemodels/b04cdf.mB04CDF Brodtkorb (2004) joint (Scf,Hd) CDF of laboratory data.implementedwafo.wavemodels.b04cdf
wavemodels/b04jcdf.mB04JCDF Brodtkorb (2004) joint (Scf,Hd) CDF from Japan Sea.implementedwafo.wavemodels.b04jcdf
wavemodels/b04jpdf.mB04JPDF Brodtkorb (2004) joint (Scf,Hd) PDF from Japan Sea.implementedwafo.wavemodels.b04jpdf
wavemodels/b04jpdf2.mB04JPDF2 Brodtkorb (2004) joint (Scf,Hd) PDF from Japan Sea.implementedwafo.wavemodels.b04jpdf2
wavemodels/b04pdf.mB04PDF Brodtkorb (2004) joint (Scf,Hd) PDF of laboratory data.implementedwafo.wavemodels.b04pdf
wavemodels/b04pdf2.mB04PDF2 Brodtkorb (2004) joint (Scf,Hd) PDF of laboratory data.implementedwafo.wavemodels.b04pdf2
wavemodels/bmr00cdf.mBMR00CDF Brodtkorb et.al. (2000) joint (Scf,Hd) CDF from North Sea.implementedwafo.wavemodels.bmr00cdf
wavemodels/bmr00pdf.mBMR00PDF Brodtkorb et.al (2000) joint (Scf,Hd) PDF from North Sea.implementedwafo.wavemodels.bmr00pdf
wavemodels/bmr00pdf2.mBMR00PDF2 Brodtkorb et.al (2000) joint (Scf,Hd) PDF from North Sea.implementedwafo.wavemodels.bmr00pdf2
wavemodels/braylcdf.mBRAYLCDF Beta Rayleigh CDF of wave heightsimplementedwafo.wavemodels.braylcdf
wavemodels/braylfit.mBRAYLFIT Parameter estimates for Beta-Rayleigh data.adaptedwafo.wavemodels.braylfit
wavemodels/braylpdf.mBRAYLPDF Beta Rayleigh PDF of wave heigthimplementedwafo.wavemodels.braylpdf
wavemodels/cav76pdf.mCAV76PDF Cavanie et al. (1976) approximation of the density (Tc,Ac)implementedwafo.wavemodels.cav76pdf
wavemodels/Contents.mModule WAVEMODELS in WAFO Toolbox.documentation-or-script
wavemodels/jhnlwparfun.mJHNLWPARFUN Wave height, Hd, distribution parameters for Stokes waves with Jonswap spectrum.implementedwafo.wavemodels.jhnlwparfun
wavemodels/jhscdf.mJHSCDF Joint (Scf,Hd) CDF for linear waves with a JONSWAP spectrum.adaptedwafo.wavemodels.jhscdf
wavemodels/jhsnlcdf.mJHSNLCDF Joint (Scf,Hd) CDF for non-linear waves with JONSWAP spectrum.adaptedwafo.wavemodels.jhsnlcdf
wavemodels/jhsnlpdf.mJHSNLPDF Joint (Scf,Hd) PDF for nonlinear waves with a JONSWAP spectra.adaptedwafo.wavemodels.jhsnlpdf
wavemodels/jhsnlpdf2.mJHSNLPDF2 Joint (Scf,Hd) PDF for non-linear waves with a JONSWAP spectra.adaptedwafo.wavemodels.jhsnlpdf2
wavemodels/jhspdf.mJHSPDF Joint (Scf,Hd) PDF for linear waves with JONSWAP spectra.adaptedwafo.wavemodels.jhspdf
wavemodels/jhspdf2.mJHSPDF2 Joint (Scf,Hd) PDF for linear waves with a JONSWAP spectrum.adaptedwafo.wavemodels.jhspdf2
wavemodels/jhvcdf.mJHVCDF Joint (Vcf,Hd) CDF for linear waves with JONSWAP spectrum.adaptedwafo.wavemodels.jhvcdf
wavemodels/jhvnlcdf.mJHVNLCDF Joint (Vcf,Hd) CDF for non-linear waves with JONSWAP spectrum.adaptedwafo.wavemodels.jhvnlcdf
wavemodels/jhvnlpdf.mJHVNLPDF Joint (Vcf,Hd) PDF for linear waves with a JONSWAP spectrum.adaptedwafo.wavemodels.jhvnlpdf
wavemodels/jhvnlpdf2.mJHVNLPDF2 Joint (Vcf,Hd) PDF for non-linear waves with a JONSWAP spectrum.adaptedwafo.wavemodels.jhvnlpdf2
wavemodels/jhvpdf.mJHVPDF Joint (Vcf,Hd) PDF for linear waves with a JONSWAP spectrum.adaptedwafo.wavemodels.jhvpdf
wavemodels/jhvpdf2.mJHVPDF2 Joint (Vcf,Hd) PDF for linear waves with a JONSWAP spectrum.adaptedwafo.wavemodels.jhvpdf2
wavemodels/jhwparfun.mJHWPARFUN Wave height, Hd, distribution parameters for Jonswap spectrum.implementedwafo.wavemodels.jhwparfun
wavemodels/lh83pdf.mLH83PDF Longuet-Higgins (1983) approximation of the density (Tc,Ac)implementedwafo.wavemodels.lh83pdf
wavemodels/ltwcpdf.mLTWCPDF Long Term Wave Climate PDF of significant wave height and wave periodadaptedwafo.wavemodels.ltwcpdf
wavemodels/mk87cdf.mMK87CDF Myrhaug and Kjeldsen (1987) joint (Scf,Hd) CDF.implementedwafo.wavemodels.mk87cdf
wavemodels/mk87pdf.mMK87PDF Myrhaug and Kjeldsen (1987) joint (Scf,Hd) PDF.implementedwafo.wavemodels.mk87pdf
wavemodels/mk87pdf2.mMK87PDF2 Myrhaug and Kjeldsen (1987) joint (Scf,Hd) PDF.implementedwafo.wavemodels.mk87pdf2
wavemodels/mk87rnd.mMK87RND Random points from MK87 distribution of steepness and wave height.adaptedwafo.wavemodels.mk87rnd
wavemodels/ochi98cdf.mOCHI98CDF Ochi's (1998) CDF of peaks and troughs of non-gaussian processesimplementedwafo.wavemodels.ochi98cdf
wavemodels/ochi98fit.mOCHI98FIT Parameter estimates and confidence intervals for Ochi data.adaptedwafo.wavemodels.ochi98fit
wavemodels/ochi98pdf.mOCHI98PDF Ochi's (1998) PDF of peaks and troughs of non-gaussian processesimplementedwafo.wavemodels.ochi98pdf
wavemodels/ohhcdf.mOHHCDF Marginal wave height, Hd, CDF for Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhcdf
wavemodels/ohhgparfun.mOHHGPARFUN Wave height, Hd, distribution parameters for Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhgparfun
wavemodels/ohhpdf.mOHHPDF Marginal wave height, Hd, PDF for Bimodal Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhpdf
wavemodels/ohhscdf.mOHHSCDF Joint (Scf,Hd) CDF for linear waves with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhscdf
wavemodels/ohhspdf.mOHHSPDF Joint (Scf,Hd) PDF for linear waves with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhspdf
wavemodels/ohhspdf2.mOHHSPDF2 Joint (Scf,Hd) PDF for linear waves with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhspdf2
wavemodels/ohhsscdf.mOHHSSCDF Joint (Scf,Hd) CDF for linear waves in space with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhsscdf
wavemodels/ohhsspdf.mOHHSSPDF Joint (Scf,Hd) PDF linear waves in space with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhsspdf
wavemodels/ohhsspdf2.mOHHSSPDF2 Joint (Scf,Hd) PDF linear waves in space with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhsspdf2
wavemodels/ohhvpdf.mOHHVPDF Joint (Vcf,Hd) PDF for lineare waves with Ochi-Hubble spectra.adaptedwafo.wavemodels.ohhvpdf
wavemodels/Readme.mREADME Readme file for module WAVEMODELS in WAFO Toolbox.documentation-or-script
wavemodels/tay81cdf.mTAY81CDF Tayfun (1981) CDF of breaking limited wave heightsadaptedwafo.wavemodels.tay81cdf
wavemodels/tay81fun.mTAY81FUN internal function to tay81pdf and tay81cdf.implementedwafo.wavemodels.tay81fun
wavemodels/tay81pdf.mTAY81PDF Tayfun (1981) PDF of breaking limited wave heightsadaptedwafo.wavemodels.tay81pdf
wavemodels/tay90cdf.mTAY90CDF Tayfun (1990) CDF of large wave heightsimplementedwafo.wavemodels.tay90cdf
wavemodels/tay90fun.mTAY90FUN is an internal integrand function to tay90pdfimplementedwafo.wavemodels.tay90fun
wavemodels/tay90pdf.mTAY90PDF Tayfun (1990) PDF of large wave heightsimplementedwafo.wavemodels.tay90pdf
wavemodels/thcdf.mTHCDF Marginal wave height, Hd, CDF for Torsethaugen spectra.adaptedwafo.wavemodels.thcdf
wavemodels/thgparfun.mTHGPARFUN Wave height, Hd, distribution parameters for Torsethaugen spectra.adaptedwafo.wavemodels.thgparfun
wavemodels/thpdf.mTHPDF Marginal wave height, Hd, PDF for Torsethaugen spectra.adaptedwafo.wavemodels.thpdf
wavemodels/thscdf.mTHSCDF Joint (Scf,Hd) CDF for linear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thscdf
wavemodels/thsnlcdf.mTHSNLCDF Joint (Scf,Hd) CDF for nonlinear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thsnlcdf
wavemodels/thsnlpdf.mTHSNLPDF Joint (Scf,Hd) PDF for nonlinear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thsnlpdf
wavemodels/thsnlpdf2.mTHSNLPDF2 Joint (Scf,Hd) PDF for nonlinear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thsnlpdf2
wavemodels/thspdf.mTHSPDF Joint (Scf,Hd) PDF for linear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thspdf
wavemodels/thspdf2.mTHSPDF2 Joint (Scf,Hd) PDF for linear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thspdf2
wavemodels/thsscdf.mTHSSCDF Joint (Scf,Hd) CDF for linear waves in space with Torsethaugen spectra.adaptedwafo.wavemodels.thsscdf
wavemodels/thsspdf.mTHSSPDF Joint (Scf,Hd) PDF for linear waves in space with Torsethaugen spectra.adaptedwafo.wavemodels.thsspdf
wavemodels/thsspdf2.mTHSSPDF2 Joint (Scf,Hd) PDF for linear waves in space with Torsethaugen spectra.adaptedwafo.wavemodels.thsspdf2
wavemodels/thvcdf.mTHVCDF Joint (Vcf,Hd) CDF for linear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thvcdf
wavemodels/thvpdf.mTHVPDF Joint (Vcf,Hd) PDF for linear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thvpdf
wavemodels/thvpdf2.mTHVPDF2 Joint (Vcf,Hd) PDF for linear waves with Torsethaugen spectra.adaptedwafo.wavemodels.thvpdf2
wavemodels/thwparfun.mTHWPARFUN Wave height, Hd, distribution parameters for Torsethaugen spectra.adaptedwafo.wavemodels.thwparfun
wavemodels/trraylpdf.mTRRAYLPDF Calculates transformed Rayleigh approximation for amplitudesimplementedwafo.wavemodels.trraylpdf
wdemos/Contents.mModule WDEMOS in WAFO Toolbox.documentation-or-script
wdemos/democc.mDEMOCC A program for visualization of cycle counts in randomdocumentation-or-script
wdemos/democc_markmax.mDEMOCC_MARKMAX plots load and marks a maximumadaptedwafo.wdemos.democc_markmax
wdemos/democc_mmdef.mDEMOCC_MMDEF illustrates the definition of min-max cycles.adaptedwafo.wdemos.democc_mmdef
wdemos/democc_plotmat.mDEMOCC_PLOTMAT plots RFC and min-max counts.adaptedwafo.wdemos.democc_plotmat
wdemos/democc_rfcdef.mDEMOCC_RFCDEF illustrates the definition of rainflow cycles.adaptedwafo.wdemos.democc_rfcdef
wdemos/democc_tpdef.mDEMOCC_TPDEF illustrates the definition of turning points.adaptedwafo.wdemos.democc_tpdef
wdemos/itmkurs/alevel.mALEVEL Slice virkler.mat at a given crack length.adaptedwafo.wdemos.alevel
wdemos/itmkurs/Contents.mContents of itmkursdocumentation-or-script
wdemos/itmkurs/itmkurs_lab1.mITMKURS_LAB1 Script to computer exercises 1documentation-or-script
wdemos/itmkurs/itmkurs_lab2.mITMKURS_LAB2 Script to computer exercises 2documentation-or-script
wdemos/itmkurs/itmkurs_lab3.mITMKURS_LAB3 Script to computer exercises 3documentation-or-script
wdemos/itmkurs/itmkurs_lab4.mITMKURS_LAB4 Script to computer exercises 4documentation-or-script
wdemos/itmkurs/load2ud.mLOAD2UD Calculates the number of up/downcrossings of a load.adaptedwafo.wdemos.load2ud
wdemos/itmkurs/nlevel.mNLEVEL Slice virkler.mat at a given number of cycles.adaptedwafo.wdemos.nlevel
wdemos/itmkurs/splitload.mSPLITLOAD Split a switching load (e.g. switchingload.mat)adaptedwafo.wdemos.splitload
wdemos/itmkurs.mITMKURS Initiate paths for Demo Load and Fatigue Analysisdocumentation-or-script
wdemos/rfcdemo1/armacov.mARMACOV Computes the covariance function for an AR- or ARMA-model.adaptedwafo.wdemos.armacov
wdemos/rfcdemo1/armaspec.mARMASPEC Computes the spectral density for an AR- or ARMA-model.adaptedwafo.wdemos.armaspec
wdemos/rfcdemo1/discar.mDISCAR Discretizes an AR(1) process.adaptedwafo.wdemos.discar
wdemos/rfcdemo1/f_ar.mF_AR Auxiliary function used by RFCDEMO1adaptedwafo.wdemos.f_ar
wdemos/rfcdemo1.mRFCDEMO1 Demo for switching AR(1)-processes.adaptedwafo.wdemos.rfcdemo1
wdemos/rfcdemo2.mRFCDEMO2 Rainflow matrix for Switching Markov Chains of Turning Points.adaptedwafo.wdemos.rfcdemo2
wsim/Contents.mModule WSIM in WAFO Toolbox.documentation-or-script
wsim/cov2csdat.mCOV2CSDAT generates conditionally simulated valuesadaptedwafo.wsim.cov2csdat
wsim/cov2sdat.mCOV2SDAT Simulates a Gaussian process and its derivativeadaptedwafo.wsim.cov2sdat
wsim/disufq.mDISUFQ Return difference- and sum-frequency effects.implementedwafo.wsim.disufq
wsim/duffsim.mDUFFSIM Generates a sample path of a harmonic oscillatoradaptedwafo.wsim.duffsim
wsim/lc2sdat.mLC2SDAT Simulates process with given irregularity factor and crossing spectrumadaptedwafo.wsim.lc2sdat
wsim/mcsim.mMCSIM Simulates a Markov chain.implementedwafo.wsim.mcsim
wsim/mctpsim.mMCTPSIM Simulates a Markov chain of turning pointsadaptedwafo.wsim.mctpsim
wsim/private/comb2pro.mCOMB2PRO Probability vector of placing a cycle on a specific place given all combinationsadaptedwafo.wsim.comb2pro
wsim/private/fr2comb.mFR2COMB Combination matrix for placing out cycles given the frequency matrixadaptedwafo.wsim.fr2comb
wsim/private/fr2nt.mFR2NT Calculates the counting distribution given the frequency matrix.adaptedwafo.wsim.fr2nt
wsim/private/fr2res.mFR2RES Generates a stationary residual from the frequency matrix.adaptedwafo.wsim.fr2res
wsim/private/getulcc.mGETULCC Finds the upper left element > 0 in a matrix.adaptedwafo.wsim.getulcc
wsim/private/rfc2load_fat.mRFC2LOAD_FAT Recontructs a load process given the frequency matrix (and residual).adaptedwafo.wsim.rfc2load_fat
wsim/readme.mREADME Readme file for module WSIM in WAFO Toolboxdocumentation-or-script
wsim/rfm2dtp.mRFM2DTP Reconstructs a sequence of turning points from a rainflow matrix.adaptedwafo.wsim.rfm2dtp
wsim/sarmasim.mSARMASIM Simulates a switching ARMA-process.adaptedwafo.wsim.sarmasim
wsim/seamovie.mSEAMOVIE Makes a movie of a 2D (x,t) or 3D (x,y,t) simulated seaadaptedwafo.wsim.seamovie
wsim/seasim.mSEASIM Spectral simulation of a Gaussian sea, 2D (x,t) or 3D (x,y,t)adaptedwafo.wsim.seasim
wsim/smcsim.mSMCSIM Simulates a Switching Markov chain with state space.adaptedwafo.wsim.smcsim
wsim/smctpsim.mSMCTPSIM Simulates a switching Markov chain of turning points,adaptedwafo.wsim.smctpsim
wsim/spec2linspec.mSPEC2LINSPEC Separates the linear component of the Spectrumadaptedwafo.wsim.spec2linspec
wsim/spec2nlsdat.mSPEC2NLSDAT Simulates a Randomized 2nd order non-linear wave X(t)adaptedwafo.wsim.spec2nlsdat
wsim/spec2sdat.mSPEC2SDAT Simulates a Gaussian process and its derivative from spectrumadaptedwafo.wsim.spec2sdat
wstats/alias.mALIAS Alias structure of a fractional design.implementedwafo.wstats.alias
wstats/cdr.mCDR Complete Defining Relationimplementedwafo.wstats.cdr
wstats/cempdistr.mCEMPDISTR Computes and plots the conditional empirical CDFimplementedwafo.wstats.cempdistr
wstats/cl2cnr.mCL2CNR Column Label to Column Numberimplementedwafo.wstats.cl2cnr
wstats/cnr2cl.mCNR2CL Column Number to Column Label.implementedwafo.wstats.cnr2cl
wstats/comnsize.mCOMNSIZE Check if all input arguments are either scalar or of common size.adaptedwafo.wstats.comnsize
wstats/Contents.mModule WSTATS in WAFO Toolbox.documentation-or-script
wstats/cplot.mCPLOT Cubic plot of responsesadaptedwafo.wstats.cplot
wstats/dist2dcdf.mDIST2DCDF Joint 2D CDF computed as int F(X1<v|X2=x2).*f(x2)dx2adaptedwafo.wstats.dist2dcdf
wstats/dist2dcdfplot.mDIST2DCDFPLOT Plot conditional empirical CDF of X1 given X2=x2adaptedwafo.wstats.dist2dcdfplot
wstats/dist2dfit.mDIST2DFIT Parameter estimates for DIST2D data.adaptedwafo.wstats.dist2dfit
wstats/dist2dfun.mDIST2DFUN is an internal function to dist2dcdf dist2dprb.adaptedwafo.wstats.dist2dfun
wstats/dist2dparamplot.mDIST2DPARAMPLOT Plot parameters of the conditional distributionadaptedwafo.wstats.dist2dparamplot
wstats/dist2dpdf.mDIST2DPDF Joint 2D PDF computed as f(x1|X2=x2)*f(x2)adaptedwafo.wstats.dist2dpdf
wstats/dist2dpdf2.mDIST2DPDF2 Joint 2D PDF computed as f(x1|X2=x2)*f(x2)adaptedwafo.wstats.dist2dpdf2
wstats/dist2dprb.mDIST2DPRB returns the probability for rectangular regions.adaptedwafo.wstats.dist2dprb
wstats/dist2drnd.mDIST2DRND Random points from a bivariate DIST2D distributionadaptedwafo.wstats.dist2drnd
wstats/dist2dsmfun.mDIST2DSMFUN Smooths the conditional DIST2D distribution parameters.adaptedwafo.wstats.dist2dsmfun
wstats/dist2dsmfun2.mDIST2DSMFUN2 Smooths the conditional DIST2D distribution parameters.adaptedwafo.wstats.dist2dsmfun2
wstats/dist2dstat.mDIST2DSTAT Mean and variance for the DIST2D distributionadaptedwafo.wstats.dist2dstat
wstats/dist2dstatplot.mDIST2DSTATPLOT Computes and plots the conditional mean and standard deviationadaptedwafo.wstats.dist2dstatplot
wstats/distplot.mDISTPLOT Displays a 1D distribution probability plot.adaptedwafo.wstats.distplot
wstats/empdistr.mEMPDISTR Computes and plots the empirical CDFimplementedwafo.wstats.empdistr
wstats/ffd.mFFD Two-level Fractional Factorial Designimplementedwafo.wstats.ffd
wstats/fitmodel.mFITMODEL Fits response by polynomialadaptedwafo.wstats.fitmodel
wstats/getmodel.mGETMODEL Return the model parametersadaptedwafo.wstats.getmodel
wstats/identify.mIDENTIFY Identify points on a plot by clicking with the mouse.adaptedwafo.wstats.identify
wstats/iqr.mIQR Computes the Inter Quartile Rangeimplementedwafo.wstats.iqr
wstats/kdeplot.mKDEPLOT Computes and plots a kernel density estimate of PDFadaptedwafo.wstats.kdeplot
wstats/loglike.mLOGLIKE Log-likelihood function.implementedwafo.wstats.loglike
wstats/mdist2dcdf.mMDIST2DCDF Joint 2D CDF due to Plackettimplementedwafo.wstats.mdist2dcdf
wstats/mdist2dcdfplot.mMDIST2DCDFPLOT Plot conditional empirical CDF of X1 given X2=x2adaptedwafo.wstats.mdist2dcdfplot
wstats/mdist2dcinv.mMDIST2DCINV Inverse of the conditional cdf of X2 given X1.implementedwafo.wstats.mdist2dcinv
wstats/mdist2dfit.mMDIST2DFIT Parameter estimates for MDIST2D data.adaptedwafo.wstats.mdist2dfit
wstats/mdist2dlike.mMDIST2DLIKE MDIST log-likelihood function.implementedwafo.wstats.mdist2dlike
wstats/mdist2dpdf.mMDIST2DPDF Joint 2D PDF due to Plackett given as f{x1}*f{x2}*G(x1,x2;Psi).implementedwafo.wstats.mdist2dpdf
wstats/mdist2dpdf2.mMDIST2DPDF2 Joint 2D PDF due to Plackett given as f{x1}*f{x2}*G(x1,x2;Psi).implementedwafo.wstats.mdist2dpdf2
wstats/mdist2drnd.mMDIST2DRND Random points from a bivariate MDIST2D distributionadaptedwafo.wstats.mdist2drnd
wstats/mdist2dstat.mMDIST2DSTAT Mean and variance for the MDIST2D distribution.adaptedwafo.wstats.mdist2dstat
wstats/mdist2dstatplot.mMDIST2DSTATPLOT Computes and plots the conditional mean and standard deviation.adaptedwafo.wstats.mdist2dstatplot
wstats/mvnormpdf.mMVNORMPDF Multivariate Normal probability density function.implementedwafo.wstats.mvnormpdf
wstats/nplot.mNPLOT Normal probability plot of effectsadaptedwafo.wstats.nplot
wstats/pairs.mPAIRS Pairwise scatter plots.adaptedwafo.wstats.pairs
wstats/range.mRANGE Calculates the difference between the maximum and minimum values.implementedwafo.wstats.range
wstats/Readme.mREADME Readme file for module WSTATS in WAFO Toolbox.documentation-or-script
wstats/ryates.mRYATES Reverse Yates' algorithm to give estimated responsesimplementedwafo.wstats.ryates
wstats/sudg.mSUDG Some Useful Design Generatorsimplementedwafo.wstats.sudg
wstats/var.mVAR Varianceimplementedwafo.wstats.var
wstats/walpharnd.mWALPHARND Random matrices from a symmetric alpha-stable distributionadaptedwafo.wstats.walpharnd
wstats/wbetacdf.mWBETACDF Beta cumulative distribution functionimplementedwafo.wstats.wbetacdf
wstats/wbetafit.mWBETAFIT Parameter estimates for Beta data.adaptedwafo.wstats.wbetafit
wstats/wbetainv.mWBETAINV Inverse of the Beta distribution functionimplementedwafo.wstats.wbetainv
wstats/wbetapdf.mWBETAPDF Beta probability density functionimplementedwafo.wstats.wbetapdf
wstats/wbetarnd.mWBETARND Random matrices from a Beta distributionadaptedwafo.wstats.wbetarnd
wstats/wbetastat.mWBETASTAT Mean and variance for the Beta distribution.implementedwafo.wstats.wbetastat
wstats/wchi2cdf.mWCHI2CDF Chi squared cumulative distribution functionimplementedwafo.wstats.wchi2cdf
wstats/wchi2fit.mWCHI2FIT Parameter estimates for Chi squared data.adaptedwafo.wstats.wchi2fit
wstats/wchi2inv.mWCHI2INV Inverse of the Chi squared distribution functionimplementedwafo.wstats.wchi2inv
wstats/wchi2pdf.mWCHI2PDF Chi squared probability density functionimplementedwafo.wstats.wchi2pdf
wstats/wchi2rnd.mWCHI2RND Random matrices from a Chi squared distribution.adaptedwafo.wstats.wchi2rnd
wstats/wchi2stat.mWCHI2STAT Mean and variance for the Chi squared distribution.implementedwafo.wstats.wchi2stat
wstats/weib2dcdf.mWEIB2DCDF Joint 2D Weibull cumulative distribution functionimplementedwafo.wstats.weib2dcdf
wstats/weib2dcdfplot.mWEIB2DCDFPLOT Plot conditional empirical CDF of X1 given X2=x2adaptedwafo.wstats.weib2dcdfplot
wstats/weib2dcinv.mWEIB2DCINV Inverse of the conditional 2D weibull cdf of X2 given X1.implementedwafo.wstats.weib2dcinv
wstats/weib2dfit.mWEIB2DFIT Parameter estimates for 2D Weibull data.adaptedwafo.wstats.weib2dfit
wstats/weib2dlike.mWEIB2DLIKE 2D Weibull log-likelihood function.implementedwafo.wstats.weib2dlike
wstats/weib2dpdf.mWEIB2DPDF 2D Weibull probability density function (pdf).implementedwafo.wstats.weib2dpdf
wstats/weib2dpdf2.mWEIB2DPDF2 Joint 2D Weibull probability density functionimplementedwafo.wstats.weib2dpdf2
wstats/weib2dprb.mWEIB2DPRB returns the probability for rectangular regions.implementedwafo.wstats.weib2dprb
wstats/weib2drnd.mWEIB2DRND Random numbers from the 2D Weibull distribution.adaptedwafo.wstats.weib2drnd
wstats/weib2dstat.mWEIB2DSTAT Mean and variance for the 2D Weibull distributionimplementedwafo.wstats.weib2dstat
wstats/weib2dstatplot.mWEIB2DSTATPLOT Computes and plots the conditional mean and standard deviationadaptedwafo.wstats.weib2dstatplot
wstats/wexpcdf.mWEXPCDF Exponential cumulative distribution functionimplementedwafo.wstats.wexpcdf
wstats/wexpfit.mWEXPFIT Parameter estimates for Exponential data.adaptedwafo.wstats.wexpfit
wstats/wexpinv.mWEXPINV Inverse of the Exponential distribution functionimplementedwafo.wstats.wexpinv
wstats/wexppdf.mWEXPPDF Exponential probability density functionimplementedwafo.wstats.wexppdf
wstats/wexpplot.mWEXPPLOT Plots data on a Exponential distribution paperadaptedwafo.wstats.wexpplot
wstats/wexprnd.mWEXPRND Random matrices from an Exponential distributionadaptedwafo.wstats.wexprnd
wstats/wexpstat.mWEXPSTAT Mean and variance for the Exponential distribution.implementedwafo.wstats.wexpstat
wstats/wfcdf.mWFCDF Snedecor's F cumulative distribution functionimplementedwafo.wstats.wfcdf
wstats/wfinv.mWFINV Inverse of the Snedecor's F distribution functionimplementedwafo.wstats.wfinv
wstats/wfpdf.mWFPDF Snedecor's F probability density functionimplementedwafo.wstats.wfpdf
wstats/wfrechcdf.mWFRECHCDF Frechet cumulative distribution functionimplementedwafo.wstats.wfrechcdf
wstats/wfrechinv.mWFRECHINV Inverse of the Frechet distribution functionimplementedwafo.wstats.wfrechinv
wstats/wfrechpdf.mWFRECHPDF Frechet probability density functionimplementedwafo.wstats.wfrechpdf
wstats/wfrechstat.mWFRECHSTAT Mean and variance for the Frechet distribution.implementedwafo.wstats.wfrechstat
wstats/wfrnd.mWFRND Random matrices from the Snedecor's F distributionadaptedwafo.wstats.wfrnd
wstats/wfstat.mWFSTAT Mean and variance for the Snedecor's F distribution.implementedwafo.wstats.wfstat
wstats/wgamafit.mWGAMAFIT Is an internal routine for wgamfitadaptedwafo.wstats.wgamafit
wstats/wgamcdf.mWGAMCDF Gamma cumulative distribution functionimplementedwafo.wstats.wgamcdf
wstats/wgamfit.mWGAMFIT Parameter estimates for Gamma data.adaptedwafo.wstats.wgamfit
wstats/wgaminv.mWGAMINV Inverse of the Gamma distribution functionimplementedwafo.wstats.wgaminv
wstats/wgampdf.mWGAMPDF Gamma probability density functionimplementedwafo.wstats.wgampdf
wstats/wgamrnd.mWGAMRND Random matrices from a Gamma distribution.adaptedwafo.wstats.wgamrnd
wstats/wgamstat.mWGAMSTAT Mean and variance for the Gamma distribution.implementedwafo.wstats.wgamstat
wstats/wgevcdf.mWGEVCDF Generalized Extreme Value cumulative distribution functionimplementedwafo.wstats.wgevcdf
wstats/wgevfit.mWGEVFIT Parameter estimates for GEV dataadaptedwafo.wstats.wgevfit
wstats/wgevinv.mWGEVINV Inverse of the Generalized Extreme Value distribution functionimplementedwafo.wstats.wgevinv
wstats/wgevlike.mWGEVLIKE Is an internal routine for wgevfitimplementedwafo.wstats.wgevlike
wstats/wgevpdf.mWGEVPDF Generalized Extreme Value probability density functionimplementedwafo.wstats.wgevpdf
wstats/wgevrnd.mWGEVRND Random matrices from a Generalized Extreme Value distributionadaptedwafo.wstats.wgevrnd
wstats/wgevstat.mWGEVSTAT Mean and variance for the GEV distribution.implementedwafo.wstats.wgevstat
wstats/wggambfit.mWGGAMBFIT Is an internal routine for wggamfitadaptedwafo.wstats.wggambfit
wstats/wggamcdf.mWGGAMCDF Generalized Gamma cumulative distribution functionimplementedwafo.wstats.wggamcdf
wstats/wggamfit.mWGGAMFIT Parameter estimates for Generalized Gamma data.adaptedwafo.wstats.wggamfit
wstats/wggaminv.mWGGAMINV Inverse of the Generalized Gamma distribution functionimplementedwafo.wstats.wggaminv
wstats/wggampdf.mWGGAMPDF Generalized Gamma probability density functionimplementedwafo.wstats.wggampdf
wstats/wggamrnd.mWGGAMRND Random matrices from a Generalized Gamma distribution.adaptedwafo.wstats.wggamrnd
wstats/wggamstat.mWGGAMSTAT Mean and variance for the Generalized Gamma distribution.implementedwafo.wstats.wggamstat
wstats/wgpdcdf.mWGPDCDF Generalized Pareto cumulative distribution functionimplementedwafo.wstats.wgpdcdf
wstats/wgpdfit.mWGPDFIT Parameter estimates for Generalized Pareto dataadaptedwafo.wstats.wgpdfit
wstats/wgpdfit_ml.mWGPDFIT_ML Internal routine for wgpdfit (ML estimates for GPD data)implementedwafo.wstats.wgpdfit_ml
wstats/wgpdinv.mWGPDINV Inverse of the Generalized Pareto distribution functionimplementedwafo.wstats.wgpdinv
wstats/wgpdpdf.mWGPDPDF Generalized Pareto probability density functionimplementedwafo.wstats.wgpdpdf
wstats/wgpdrnd.mWGPDRND Random matrices from a Generalized Pareto Distributionadaptedwafo.wstats.wgpdrnd
wstats/wgpdstat.mWGPDSTAT Mean and variance for the Generalized Pareto distribution.implementedwafo.wstats.wgpdstat
wstats/wgumbafit.mWGUMBAFIT Is an internal routine for wgumbfitadaptedwafo.wstats.wgumbafit
wstats/wgumbcdf.mWGUMBCDF Gumbel cumulative distribution function.implementedwafo.wstats.wgumbcdf
wstats/wgumbfit.mWGUMBFIT Parameter estimates for Gumbel data.adaptedwafo.wstats.wgumbfit
wstats/wgumbinv.mWGUMBINV Inverse of the Gumbel distribution function.implementedwafo.wstats.wgumbinv
wstats/wgumbpdf.mWGUMBPDF Gumbel probability density function.implementedwafo.wstats.wgumbpdf
wstats/wgumbplot.mWGUMBPLOT Plots data on a Gumbel distribution paper.adaptedwafo.wstats.wgumbplot
wstats/wgumbrnd.mWGUMBRND Random matrices from a Gumbel distribution.adaptedwafo.wstats.wgumbrnd
wstats/wgumbstat.mWGUMBSTAT Mean and variance for the Gumbel distribution.implementedwafo.wstats.wgumbstat
wstats/wgumbtest.mWGUMBTEST Tests whether the shape parameter in a GEV is equal to zeroadaptedwafo.wstats.wgumbtest
wstats/whisto.mWHISTO Plots a histogramadaptedwafo.wstats.whisto
wstats/winvgcdf.mWINVGCDF Inverse Gaussian cumulative distribution functionimplementedwafo.wstats.winvgcdf
wstats/winvgfit.mWINVGFIT Parameter estimates for Inverse Gaussian data.adaptedwafo.wstats.winvgfit
wstats/winvginv.mWINVGINV Inverse of the Inverse Gaussian distribution functionimplementedwafo.wstats.winvginv
wstats/winvgpdf.mWINVGPDF Inverse Gaussian probability density functionimplementedwafo.wstats.winvgpdf
wstats/winvgrnd.mWINVGRND Random matrices from a Inverse Gaussian distribution.adaptedwafo.wstats.winvgrnd
wstats/winvgstat.mWINVGSTAT Mean and variance for the Inverse Gaussian distribution.implementedwafo.wstats.winvgstat
wstats/wkurtosis.mWKURTOSIS Computes sample kurtosisimplementedwafo.wstats.wkurtosis
wstats/wlogncdf.mWLOGNCDF Lognormal cumulative distribution functionimplementedwafo.wstats.wlogncdf
wstats/wlognfit.mWLOGNFIT Parameter estimates for Lognormal data.adaptedwafo.wstats.wlognfit
wstats/wlogninv.mWLOGNINV Inverse of the Lognormal distribution functionimplementedwafo.wstats.wlogninv
wstats/wlognpdf.mWLOGNPDF Lognormal probability density functionimplementedwafo.wstats.wlognpdf
wstats/wlognrnd.mWLOGNRND Random matrices from a Lognormal distribution.adaptedwafo.wstats.wlognrnd
wstats/wlognstat.mWLOGNSTAT Mean and variance for the Lognormal distribution.implementedwafo.wstats.wlognstat
wstats/wmnormrnd.mWMNORMRND Random vectors from a multivariate Normal distributionadaptedwafo.wstats.wmnormrnd
wstats/wnormcdf.mWNORMCDF Normal cumulative distribution functionimplementedwafo.wstats.wnormcdf
wstats/wnormfit.mWNORMFIT Parameter estimates for Normal data.adaptedwafo.wstats.wnormfit
wstats/wnorminv.mWNORMINV Inverse of the Normal distribution functionimplementedwafo.wstats.wnorminv
wstats/wnormndpdf.mWNORMNDPDF N-Dimensional Normal probability density function.implementedwafo.wstats.wnormndpdf
wstats/wnormpdf.mWNORMPDF Normal probability density functionimplementedwafo.wstats.wnormpdf
wstats/wnormplot.mWNORMPLOT Plots data on a Normal distribution paperadaptedwafo.wstats.wnormplot
wstats/wnormrnd.mWNORMRND Random matrices from a Normal distribution.adaptedwafo.wstats.wnormrnd
wstats/wnormstat.mWNORMSTAT Mean and variance for the Normal distribution.implementedwafo.wstats.wnormstat
wstats/wqqplot.mWQQPLOT Plot empirical quantile of X vs empirical quantile of Yadaptedwafo.wstats.wqqplot
wstats/wquantile.mWQUANTILE Empirical quantile (percentile).implementedwafo.wstats.wquantile
wstats/wraylcdf.mWRAYLCDF Rayleigh cumulative distribution functionimplementedwafo.wstats.wraylcdf
wstats/wraylfit.mWRAYLFIT Parameter estimates for Rayleigh data.adaptedwafo.wstats.wraylfit
wstats/wraylinv.mWRAYLINV Inverse of the Rayleigh distribution functionimplementedwafo.wstats.wraylinv
wstats/wraylpdf.mWRAYLPDF Rayleigh probability density functionimplementedwafo.wstats.wraylpdf
wstats/wraylplot.mWRAYLPLOT Plots data on a Rayleigh distribution paperadaptedwafo.wstats.wraylplot
wstats/wraylrnd.mWRAYLRND Random matrices from a Rayleigh distributionadaptedwafo.wstats.wraylrnd
wstats/wraylstat.mWRAYLSTAT Mean and variance for the Rayleigh distribution.implementedwafo.wstats.wraylstat
wstats/wskewness.mWSKEWNESS Computes sample skewnessimplementedwafo.wstats.wskewness
wstats/wtcdf.mWTCDF Student's T cumulative distribution functionimplementedwafo.wstats.wtcdf
wstats/wtfit.mWTFIT Parameter estimates for Student's T data.adaptedwafo.wstats.wtfit
wstats/wtinv.mWTINV Inverse of the Student's T distribution functionimplementedwafo.wstats.wtinv
wstats/wtpdf.mWTPDF Student's T probability density functionimplementedwafo.wstats.wtpdf
wstats/wtraylcdf.mWTRAYLCDF Truncated Rayleigh cumulative distribution functionimplementedwafo.wstats.wtraylcdf
wstats/wtraylfit.mWTRAYLFIT Parameter estimates for Truncated Rayleigh data.adaptedwafo.wstats.wtraylfit
wstats/wtraylpdf.mWTRAYLPDF Truncated Rayleigh probability density functionimplementedwafo.wstats.wtraylpdf
wstats/wtrnd.mWTRND Random matrices from a Student's T distributionadaptedwafo.wstats.wtrnd
wstats/wtstat.mWTSTAT Mean and variance for the Student's T distribution.implementedwafo.wstats.wtstat
wstats/wtweibcdf.mWTWEIBCDF Truncated Weibull cumulative distribution functionimplementedwafo.wstats.wtweibcdf
wstats/wtweibfit.mWTWEIBFIT Parameter estimates for truncated Weibull data.adaptedwafo.wstats.wtweibfit
wstats/wtweibfun.mWTWEIBFUN Is an internal routine for wtweibfitimplementedwafo.wstats.wtweibfun
wstats/wtweibpdf.mWTWEIBPDF Truncated Weibull probability density functionimplementedwafo.wstats.wtweibpdf
wstats/wweibcdf.mWWEIBCDF Weibull cumulative distribution functionimplementedwafo.wstats.wweibcdf
wstats/wweibcfit.mWWEIBCFIT Is an internal routine for wweibfitadaptedwafo.wstats.wweibcfit
wstats/wweibfit.mWWEIBFIT Parameter estimates for Weibull data.adaptedwafo.wstats.wweibfit
wstats/wweibinv.mWWEIBINV Inverse of the Weibull distribution functionimplementedwafo.wstats.wweibinv
wstats/wweibpdf.mWWEIBPDF Weibull probability density functionimplementedwafo.wstats.wweibpdf
wstats/wweibplot.mWWEIBPLOT Plots data on a Weibull distribution paperadaptedwafo.wstats.wweibplot
wstats/wweibrnd.mWWEIBRND Random matrices a the Weibull distribution.adaptedwafo.wstats.wweibrnd
wstats/wweibstat.mWWEIBSTAT Mean and variance for the Weibull distribution.implementedwafo.wstats.wweibstat
wstats/yates.mYATES Calculates main and interaction effects using Yates' algorithm.implementedwafo.wstats.yates

Original source documentation

Contents
Module WSTATS in WAFO Toolbox. 
Version 2.1.1  07-Sep-2005

What's new
Readme     - New features, bug fixes, and changes in WSTATS. 

Parameter estimation
loglike    - Log-likelihood function
wbetafit   - Parameter estimates for Beta data
wchi2fit   - Parameter estimates for Chi squared data
wexpfit    - Parameter estimates for Exponential data
wgamfit    - Parameter estimates for Gamma data
wgamafit   - Is an internal routine for wgamfit
wgevfit    - Parameter estimates for GEV data
wgevlike   - Is an internal routine for wgevfit
wggamfit   - Parameter estimates for Generalized Gamma data
wggambfit  - Is an internal routine for wggamfit
wgpdfit    - Parameter estimates for GPD data
wgpdfit_ml - Internal routine for wgpdfit (ML estimates for GPD data)
wgumbfit   - Parameter estimates for Gumbel data
wgumbafit  - Is an internal routine for wgumbfit
winvgfit   - Parameter estimates for Inverse Gaussian data
wlognfit   - Parameter estimates for Lognormal data
wnormfit   - Parameter estimates for Normal data
wraylfit   - Parameter estimates for Rayleigh data
wtraylfit  - Parameter estimates for Truncated Rayleigh data
wtfit      - Parameter estimates for Student's T data
wweibfit   - Parameter estimates for Weibull data
wweibcfit  - Is an internal routine for wweibfit
wtweibfit  - Parameter estimates for Truncated Weibull data
wtweibfun  - Is an internal routine for wtweibfit
weib2dfit  - Parameter estimates for 2D Weibull data
weib2dlike - 2D Weibull log-likelihood function
dist2dfit  - Parameter estimates for DIST2D data
dist2dsmfun  - Smooths the conditional DIST2D distribution parameters
dist2dsmfun2 - Smooths the conditional DIST2D distribution parameters
mdist2dfit   - Parameter estimates for MDIST2D data
mdist2dlike  - MDIST log-likelihood function

Probability density functions (pdf)
wbetapdf   - Beta probability density function 
wchi2pdf   - Chi squared probability density function
wexppdf    - Exponential probability density function
wfpdf      - Snedecor's F probability density function 
wfrechpdf  - Frechet probability density function
wgampdf    - Gamma probability density function
wggampdf   - Generalized Gamma probability density function
wgevpdf    - Generalized Extreme Value probability density function
wgpdpdf    - Generalized Pareto probability density function
wgumbpdf   - Gumbel probability density function
winvgpdf   - Inverse Gaussian probability density function
wlognpdf   - Lognormal probability density function
wnormpdf   - Normal probability density function
mvnormpdf  - Multivariate Normal probability density function
wraylpdf   - Rayleigh probability density function
wtraylpdf  - Truncated Rayleigh probability density function
wtpdf      - Student's T probability density function 
wweibpdf   - Weibull probability density function
wtweibpdf  - Truncated Weibull probability density function
weib2dpdf  - 2D Weibull probability density function (pdf)
weib2dpdf2 - Joint 2D Weibull probability density function 
dist2dpdf  - Joint 2D PDF computed as f(x1|X2=x2)*f(x2) 
dist2dpdf2 - Joint 2D PDF computed as f(x1|X2=x2)*f(x2)
mdist2dpdf - Joint 2D PDF due to Plackett given as  f{x1}*f{x2}*G(x1,x2;Psi)
mdist2dpdf2 - Joint 2D PDF due to Plackett given as  f{x1}*f{x2}*G(x1,x2;Psi)

Cumulative distribution functions (cdf)
wbetacdf   - Beta cumulative distribution function 
wchi2cdf   - Chi squared cumulative distribution function
wexpcdf    - Exponential cumulative distribution function
wfcdf      - Snedecor's F cumulative distribution function 
wfrechcdf  - Frechet cumulative distribution function
wgamcdf    - Gamma cumulative distribution function
wggamcdf   - Generalized Gamma cumulative distribution function
wgevcdf    - Generalized Extreme Value cumulative distribution function
wgpdcdf    - Generalized Pareto cumulative distribution function
wgumbcdf   - Gumbel cumulative distribution function
winvgcdf   - Inverse Gaussian cumulative distribution function
wlogncdf   - Lognormal cumulative distribution function
wnormcdf   - Normal cumulative distribution function
wraylcdf   - Rayleigh cumulative distribution function
wtraylcdf  - Truncated Rayleigh cumulative distribution function
wtcdf      - Student's T  cumulative distribution function 
wweibcdf   - Weibull cumulative distribution function
wtweibcdf  - Truncated Weibull cumulative distribution function
weib2dcdf  - Joint 2D Weibull cumulative distribution function 
weib2dprb  - Returns the probability for rectangular regions. 
dist2dcdf  - Joint 2D CDF computed as int F(X1<v|X2=x2).*f(x2)dx2 
dist2dfun  - Is an internal function to dist2dcdf dist2dprb.
dist2dprb  - Returns the probability for rectangular regions.
mdist2dcdf - Joint 2D CDF due to Plackett

Inverse cumulative distribution functions
wbetainv   - Inverse of the Beta distribution function 
wchi2inv   - Inverse of the Chi squared distribution function
wexpinv    - Inverse of the Exponential distribution function
wfinv      - Inverse of the Snedecor's F distribution function
wgaminv    - Inverse of the Gamma distribution function
wggaminv   - Inverse of the Generalized Gamma distribution function
wgevinv    - Inverse of the Generalized Extreme Value distribution function
wgpdinv    - Inverse of the Generalized Pareto distribution function
wgumbinv   - Inverse of the Gumbel distribution function
winvginv   - Inverse of the Inverse Gaussian distribution function
wlogninv   - Inverse of the Lognormal distribution function
wnorminv   - Inverse of the Normal distribution function
wraylinv   - Inverse of the Rayleigh distribution function
wtinv      - Inverse of the Student's T distribution function
wweibinv   - Inverse of the Weibull distribution function
weib2dcinv - Inverse of the conditional 2D weibull cdf of X2 given X1.
mdist2dcinv - Inverse of the conditional cdf of X2 given X1.

Random number generators
walpharnd  - Random matrices from a symmetric alpha-stable distribution
wbetarnd   - Random matrices from an Beta distribution 
wchi2rnd   - Random matrices from a Chi squared distribution
wexprnd    - Random matrices from an Exponential distribution
wfrnd      - Random matrices from a Snedecor's F distribution
wfrechinv  - Inverse of the Frechet distribution function
wgamrnd    - Random matrices from a Gamma distribution
wggamrnd   - Random matrices from a Generalized Gamma distribution
wgevrnd    - Random matrices from a Generalized Extreme-Value distribution
wgpdrnd    - Random matrices from a Generalized Pareto Distribution
wgumbrnd   - Random matrices from a Gumbel distribution
winvgrnd   - Random matrices from an Inverse Gaussian distribution
wlognrnd   - Random matrices from a Lognormal distribution
wmnormrnd  - Random vectors from a multivariate Normal distribution
wnormrnd   - Random matrices from a Normal distribution
wraylrnd   - Random matrices from a Rayleigh distribution
wtrnd      - Random matrices from a Student's T distribution
wweibrnd   - Random matrices from a Weibull distribution
weib2drnd  - Random numbers from the 2D Weibull distribution.
dist2drnd  - Random points from a bivariate DIST2D distribution
mdist2drnd - Random points from a bivariate MDIST2D distribution 

Statistics
wbetastat  - Mean and variance for the Beta distribution.
wchi2stat  - Mean and variance for the Chi squared distribution
wexpstat   - Mean and variance for the Exponential distribution
wfstat     - Mean and variance for the Snedecor's F distribution
wfrechstat - Mean and variance for the Frechet distribution
wgamstat   - Mean and variance for the Gamma distribution
wggamstat  - Mean and variance for the Generalized Gamma distribution
wgevstat   - Mean and variance for the GEV distribution
wgpdstat   - Mean and variance for the Generalized Pareto distribution
wgumbstat  - Mean and variance for the Gumbel distribution
winvgstat  - Mean and variance for the Inverse Gaussian distribution
wlognstat  - Mean and variance for the Lognormal distribution
wnormstat  - Mean and variance for the Normal distribution
wraylstat  - Mean and variance for the Rayleigh
wtstat     - Mean and variance for the Student's T  distribution
wweibstat  - Mean and variance for the Weibull distribution
weib2dstat - Mean and variance for the 2D Weibull distribution 
dist2dstat - Mean and variance for the DIST2D distribution 
mdist2dstat - Mean and variance for the MDIST2D distribution 

Descriptive Statistics
mean       - Computes sample mean (in matlab toolbox)
median     - Computes sample median value (in matlab toolbox)
std        - Computes standard deviation (in matlab toolbox)
var        - Computes sample variance (in matlab toolbox)
cov        - Computes sample covariance matrix (in matlab toolbox)
corrcoef   - Computes sample correlation coefficients (in matlab toolbox)
wkurtosis  - Computes sample kurtosis
wskewness  - Computes sample skewness
iqr        - Computes the Inter Quartile Range 
range      - Calculates the difference between maximum and minimum values

Statistical plotting
wgumbplot  - Plots data on a Gumbel distribution paper
wnormplot  - Plots data on a Normal distribution paper
wweibplot  - Plots data on a Weibull distribution paper
wexpplot   - Plots data on a Exponential distribution paper
wraylplot  - Plots data on a Rayleigh distribution paper
wqqplot    - Plots empirical quantile vs empirical quantile 
distplot   - Displays a 1D distribution probability plot
empdistr   - Computes and plots the empirical CDF
cempdistr  - Computes and plots the conditional empirical CDF
whisto     - Plots a histogram
kdeplot    - Computes and plots a kernel estimate of PDF
identify   - Identify points on a plot by clicking with the mouse. 
pairs      - Pairwise scatter plots.
weib2dcdfplot   - Plot conditional empirical CDF of X1 given X2=x2 
weib2dstatplot  - Computes and plots the conditional mean and standard deviation
dist2dcdfplot   - Plot conditional empirical CDF of X1 given X2=x2 
dist2dparamplot - Plot parameters of the conditional distribution 
dist2dstatplot  - Computes and plots the conditional mean and standard deviation 
mdist2dcdfplot  - Plot conditional empirical CDF of X1 given X2=x2 
mdist2dstatplot - Computes and plots the conditional mean and standard deviation 

Hypothesis Tests
wgumbtest  - Tests whether the shape parameter in a GEV is equal to zero

Design of Experiments
yates      - Calculates main and interaction effects using Yates' algorithm.
ryates     - Reverse Yates' algorithm to give estimated responses
fitmodel   - Fits response by polynomial
alias      - Alias structure of a fractional design
cdr        - Complete Defining Relation
cl2cnr     - Column Label to Column Number
cnr2cl     - Column Number to Column Label
ffd        - Two-level Fractional Factorial Design
getmodel   - Return the model parameters
sudg       - Some Useful Design Generators
cplot      - Cubic plot of responses
nplot      - Normal probability plot of effects

Misc
comnsize   - Check if all input arguments are either scalar or of common size. 
Readme
README Readme file for module WSTATS in WAFO Toolbox.

Version 2.1.1   07-Jul-2005

FIXES
~~~~~
wgpdpdf - fixed bug for k==0 now fixed
wgpdcdf - distribution for k==0 was wrong, now fixed
kdeplot - Default kernel used in the call to hldpi changed from 'epan'
to 'gauss' because gauss kernel is the only supported one.  
mdist2dfit   - replaced fmins with fminsearch  
weib2dfit    - replaced fmins with fminsearch  
wggamstat    - fixed a bug
wggamfit     - Added secret option of C0
wtweibfit    - minor fix
dist2dsmfun  - minor fix
dist2dsmfun2 - minor fix
dist2dfit    - Added secret option of C0 to wggamfit 

-------------------------------------------------------------------
Version 2.1.0   07-Apr-2004

Bug fixes, some new and/or updated routines.

FIXES
~~~~~
wnormpdf - Fixed a bug
wnormcdf - changed call from erf to erfc in order  
to get more accurate lower tail probabilities
wnorminv - replaced erfinv with PHIINV which perform more accurate 
inversion in the lower tail. This also results in faster execution.
wtcdf    - added new methods for df==1 or df==2 and for region1= x^2<df^2 
wtinv    - added new method for df==2 


NEW FUNCTIONS
~~~~~~~~~~~~~
MVNORMPDF  multivariate Normal probability density function

-------------------------------------------------------------------
Version 2.0.5   14-Jun-2003

Bug fixes, some new and/or updated routines.

NEW FUNCTIONS
~~~~~~~~~~~~~
WEXPPLOT   plots data on a Exponential distribution paper
WFRECHCDF  Frechet cumulative distribution function
WFRECHPDF  Frechet probability density function
WFRECHINV  Inverse of the Frechet distribution function
WFRECHSTAT Mean and variance for the Frechet distribution.

--------------------------------------------------------------------
Version 2.0.4   11-Apr-2001

This file describes new features, bug fixes, and changes in this version 
of the WAFO/wstats Toolbox.

List of changes:

NOTE:
Items marked with:
(N)  : needs a new  name 
*   : not yet available
+   : needs more work
**  : have changed in a way which might affect your code!


FIXES
~~~~~
Some but too small to mention.


ENHANCEMENTS
~~~~~~~~~~~~
- All the PDF's, CDF's and STAT's function now check if the input arguments
are either scalar or of common size. Scalar inputs are transformed to 
to a constant matrix with size equal to the common size of the non-scalar arguments.
This is useful for implementing functions where arguments can either
be scalars or of common size. 

- (**) wggampdf,wggamcdf, wggamfit, wggamstat: The order of the distribution parameters 
are changed so that they have the same order as wgamXXX.m functions, i.e.,
wgampdf(x,a,b) is now the same as wggampdf(x,a,b,1).

- (**) the order of input arguments to wgumbrnd are changed  in order to implement
a more flexible sizing of the output. New CALL: R = wgumbrnd(a,b,trunc,sz) 

- cempdistr and empdistr now allows to overplot the figure. Also different 
plot symbols may be given.

- LOGLIKE is a utility function for maximum likelihood estimation. 
This works on any PDF having the following calling syntax:

f = testpdf(x1,x2,..,xN,A1,A2,..,Am)

where x1,x2,...,xN contain the points to be evaluated and A1,A2... are
the distribution parameters. 
LOGLIKE also calculates the asymptotic covariance matrix of phat=[A1,...,Am] 
(if phat is estimated by a maximum likelihood method). This estimate is 
usually better than the estimates returned by the log-likelihood functions
implemented in MATLAB's  STATS toolbox.

- An option for Maximum Likelihood estimation added in wgpdfit. The ML estimates usually 
gives best results. One problem with the other methods of estimation (pkd/mom/pwm) is 
that the estimates may be inconsistant with the data, i.e. when k>0 the estimated upper 
end point (=s/k) of the distribution is often lower than the maximal observation. Try:
sample = wgpdrnd(0.3,1,0,200,1);
[phat] = wgpdfit(sample,'pwm');
[phat(2)/phat(1) max(sample)]  % Estimated upper end point  AND  maximal observation

- New routines for Design of Experiments (see list of new functions).


NEW FUNCTIONS
~~~~~~~~~~~~~

Parameter estimation
dist2dfit  - Parameter estimates for DIST2D data.
mdist2dfit - Parameter estimates for MDIST2D data. 
dist2dsmfun - Smooths the conditional DIST2D distribution parameters. 
dist2dsmfun2 - Smooths the conditional DIST2D distribution parameters.
mdist2dlike - MDIST log-likelihood function. 
loglike    - Log-likelihood function. 
wbetafit   - Parameter estimates for Beta data.
wchi2fit   - Parameter estimates for Chi squared data.
weib2dfit   - Parameter estimates for 2D Weibull data. 
wtfit      - Parameter estimates for Student's T data.
weib2dlike - 2D Weibull log-likelihood function.
iqr        - Computes the Inter Quartile Range 
range      - Calculates the difference between the maximum and minimum values.

Probability density functions (pdf)
dist2dpdf  - Joint 2D PDF computed as f(x1|X2=x2)*f(x2) 
dist2dpdf2 - Joint 2D PDF computed as f(x1|X2=x2)*f(x2)
mdist2dpdf - Joint 2D PDF due to Plackett given as  f{x1}*f{x2}*G(x1,x2;Psi). 
mdist2dpdf2 - Joint 2D PDF due to Plackett given as  f{x1}*f{x2}*G(x1,x2;Psi). 
wbetapdf   - Beta probability density function 
weib2dpdf  - 2D Weibull probability density function (pdf). 
weib2dpdf2 - Joint 2D Weibull probability density function 
wfpdf      - Snedecor's F probability density function
wtpdf      - Student's T probability density function 

Cumulative distribution functions (cdf)
dist2dcdf  - Joint 2D CDF computed as int F(X1<v|X2=x2).*f(x2)dx2 
dist2dfun  - Is an internal function to dist2dcdf dist2dprb.
dist2dprb  - Returns the probability for rectangular regions.
mdist2dcdf - Joint 2D CDF due to Plackett
wbetacdf   - Beta cumulative distribution function 
weib2dcdf  - Joint 2D Weibull cumulative distribution function 
weib2dprb  - Returns the probability for rectangular regions. 
wfcdf      - Snedecor's F cumulative distribution function 
wtcdf      - Student's T  cumulative distribution function 

Inverse cumulative distribution functions
mdist2dcinv - Inverse of the conditional cdf of X2 given X1.
wbetainv   - Inverse of the Beta distribution function 
wchi2inv   - Inverse of the Chi squared distribution function
weib2dcinv - Inverse of the conditional 2D weibull cdf of X2 given X1.
wfinv      - Inverse of the Snedecor's F distribution function
wtinv      - Inverse of the Student's T distribution function

Random number generators
dist2drnd  - Random points from a bivariate DIST2D distribution
mdist2drnd - Random points from a bivariate MDIST2D distribution 
wbetarnd   - Random matrices from a Beta distribution 
wfrnd      - Random matrices from a Snedecor's F distribution
wtrnd      - Random matrices from a Student's T distribution

Statistical plotting
dist2dcdfplot - Plot conditional empirical CDF of X1 given X2=x2 
dist2dparamplot - Plot parameters of the conditional distribution 
dist2dstatplot - Computes and plots the conditional mean and standard deviation 
identify   - Identify points on a plot by clicking with the mouse. 
mdist2dcdfplot - Plot conditional empirical CDF of X1 given X2=x2 
mdist2dstatplot - Computes and plots the conditional mean and standard deviation. 
weib2dcdfplot - Plot conditional empirical CDF of X1 given X2=x2 
weib2dstatplot - Computes and plots the conditional mean and standard deviation
pairs      - Pairwise scatter plots.

Statistics
dist2dstat - Mean and variance for the DIST2D distribution 
mdist2dstat - Mean and variance for the MDIST2D distribution 
wbetastat  - Mean and variance for the Beta distribution.
weib2dstat - Mean and variance for the 2D Weibull distribution 
wfstat     - Mean and variance for the Snedecor's F distribution.
wtstat     - Mean and variance for the Student's T  distribution.

Design of Experiments
yates      - Calculates main and interaction effects using Yates' algorithm.
ryates     - Reverse Yates' algorithm to give estimated responses
fitmodel   - Fits response by polynomial
alias      - Alias structure of a fractional design
cdr        - Complete Defining Relation
cl2cnr     - Column Label to Column Number
cnr2cl     - Column Number to Column Label
ffd        - Two-level Fractional Factorial Design
sudg       - Some Useful Design Generators
cplot      - Cubic plot of responses
nplot      - Normal probability plot of effects

Misc
comnsize   - Check if all input arguments are either scalar or of common size. 
aboutwafo
ABOUTWAFO  WAFO is a Matlab toolbox for analysis of random waves

WAFO (Wave Analysis for Fatigue and Oceanography) is a toolbox of
Matlab routines for statistical analysis and simulation of random waves 
and random loads, and for calculation of the theoretical distributions
related to the wave structure.

The toolbox contains libraries and demonstration files, referring to
papers, i.e. scripts for comparison of results in the litterature or
generation of plots in recent publications. For modelling purposes
within oceanography, families of common spectra and spreading functions 
are implemented.

For the modelling of sea waves, an important class of processes are
stationary Gaussian processes with known spectral density. For these it 
is possible to calculate the theoretical distribution of wave
characterisics, e.g probability density for wave length or joint
probability density for wave length and amplitude. Some routines handle 
the case with random fields, taking dynamics of the sea into
account. WAFO also contains algorithms for modelling with transformed
Gaussian processes.

An important part of WAFO are routines related to random loads and
fatigue. For a random load, rainflow cycles can be extracted and the
expected rainflow matrix can be calculated. Additional routines for
more complex models, e.g model involving switching Markov chains of
turning points, are also found.

See also  docs 
Reference
Brodtkorb, P.A, and Johannesson, P and Lindgren, G. and  Rychlik, I. and
Ryden,R and Sj\"o, E (2000)
"WAFO - a Matlab toolbox for analysis of random waves"
To appear in the Proceedings of the 10th ISOPE Conference
History
by pab et.al. 21.01.2000
function aboutwafo
addfeatr
ADDFEATR  How To Add New Features to WAFO

NEW Functions 
~~~~~~~~~~~~~~~
General conventions:
Each line of code in the functions must not exceed 76 columns
to ease the readability of the code. Function names must be written in lower 
case letters without any underscores. Also local variable names should 
preferably be in lower case letters. Global variables should be written in 
upper case letters in order to avoid confusion with local variables. 

Help header:
Generally a function included in WAFO should be well commented and include 
the following information in the given order in the help header:

Header: (H1 line) Name of the function (in uppercase letters) followed by a
concise and definitive description appropriate for retrieval purposes by
the MATLAB \verb+lookfor+ command. Not to exceed one line.  
Call  : Specifying the calling prototype, i.e. output argument(s),
function name and input argument(s). Function name in lower case letters. 
Outputs/inputs: A list describing the output and input arguments in
the order they appear in the calling prototype. The description should
also indicate the data type of the argument. An optional input argument is
indicated by specifying the default value enclosed in parenthesis. Each
line should be aligned so that all the equal-signs are in the same column.
Description: Detailed explanation of what the function does, the
assumptions made, the limitations and how the algorithm works.  This
should be as detailed as possible without exceeding one page.
Side effects: If any like changing/using global variables, 
changing properties of figure windows etc.
should also be notified in the help header
Example(s): An example of how to use the function in practice is desirable.
See also  Comma separated list of related functions or functions which this 
routine calls.
Secret help:
Immediately after the help header the following information should be given: 

References: A complete reference from which the user can obtain further information
Tested on : Specifies on which matlab version the function has been tested.
History   : Revision log of the function in chronological order. 

See jonswap for an example on how it looks like in the WAFO toolbox


NEW DATASETS:
~~~~~~~~~~~~~~

Signals: 

[1] Choose a filename  (preferably with less than eight characters)  e.g. "gullfaks" 

[2] Create an ascii data file named  "gullfaks.dat", which contains your
signal in vertical format with sampled values in columns.
The documentation m-file explains what each column is a measure of.
Sampling times if given should be in the first column.

[3] Create an documentation file named "gullfaks.m" with the 
following structure: (all in lower case letters if not explicitly stated otherwise)

Title         : name of the m file in upper case letters followed by a 
descriptrive text. Not to exceed one line.
Call          : indicating how to access the data
Size          : The size of data.
Sampling rate :
Device        : Measuring device used to sample the data.
Source        : Indication of the original source of the data
Format        : Specifying the format of the data
Description   : and other relevant facts of the data , \ie{} where and when the 
data were measured. An indication of the quality of the data should 
also be included.  Descriptive measures of the data like significant 
wave height, Hm0 , and peak period, Tp, may also be given here.  
Also restrictions on the use of the data if any should be given here.
See also      : a comma separated list of related files or functions

Example:

GULLFAKS  surface elevation measured at Gullfaks C 30.12.1990

CALL:  xn = load('gullfaks.dat')

Size             :    2560 X 2
Sampling Rate    :    2.5 Hz
Device           :    EMI laser
Source           :    STATOIL 
Format           :    ascii, c1: time c2: surface elevation
Description      :
The wave data was measured 24th December 1989 at the Gullfaks C platform  
in the North Sea from 17.00 to  21.20. The  water depth of  218 m is regarded 
as deep water  for the most  important wave components.
There are two EMI laser sensors named 219 and 220. This data  set  is obtained from
sensor 219, which is  located in the
Northwest corner  approximately two platform leg diameters away from   
the closest  leg.  
Thus the wave elevation is not expected  to be significantly 
affected by  diffraction effects for incoming waves in the western sector.   
The wind direction for this period is from the southwest.
Some  difficulties in calibration of the instruments have been reported
resulting in several consecutive measured values being equal or nearly equal 
in the observed data set.

Hm0 = 6.8m, Tm02 = 8s, Tp = 10.5

See also  gullfaks.jpg


NEW  DEMONSTRATIONS / PUBLISHED PAPERS:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To add new demonstration scripts to the DEMOS directory:

[1] Choose a name for your demo and a short prefix for files
implementing your demo. For example, "isope99" and "is".

[2] Create the new subdirectory accordingly after the chosen name:

WAFO/DEMOS/isope99. 

[3] Create the m-files which implement your demo:
isdemo    - starts a user controlled demonstration with choices
isinit    - sets up data structures, globals etc...
isfig1,2..- called from isdemo. 
isintro   - help file describing the purpose of the demo
iscleanup - clears all globals created by the demo and restores the 
original workspace

[4]  Specialized tools/functions not available in the official 
release of WAFO needed for generating the figures should be put into 
WAFO/DEMOS/isope99/private subdirectory.

These are the rules for the scripts:

I.   One m-file creates one complete figure, not a series
of figures or a subplot of a figure.
II.  If some variables in one script is needed by another script
they  must be saved as global variables.
III. No pause or prints statements allowed.
IV.  As far as possible try to use the tools in WAFO

Inspection of existing demonstrations will help in following these rules.



To add new demonstration scripts to the PAPER directory is 
similar to the DEMOS except that the scripts must recreate figures 
in  published articles or technical reports.


history
by pab 14.12.1999
ampdef
AMPDEF wave heights and amplitude definitions and nomenclature

Definition of wave amplitude and wave heights:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<----- Direction of wave propagation


...............c_..........
|             /| \         |
Hd  |           _/ |  \        |  Hu
M       |          /   |   \       |
/ \      |     M   / Ac |    \_     |     c_  
F   \     |    / \m/     |      \    |    /  \ 
------d----|---u------------------d---|---u----d------ level v
\   |  /|                   \  |  /      \L
\_ | / | At                 \_|_/     
\|/..|                      t
t

Ac   = crest amplitude
At   = trough amplitude
Hd   = wave height as defined for down crossing waves
Hu   = wave height as defined for up crossing waves

See also  wavedef, ampdef, crossdef, tpdef
history:
revised pab 21.01.2000
-  changed  from: Wave propagating direction 
to: Direction of wave propagation
revised pab 12.12.1999
added help ampdef
by Per A. Brodtkorb 19.09.1999
atlantic
ATLANTIC Significant wave-height data recorded in the Atlantic Ocean

CALL:  load('atlantic.dat');

Size             :     582 X 1
Sampling Rate    :     ~ 14 times a month
Device           :    
Source           :    
Format           :    ascii
Description      :
atlantic.dat contains average significant wave-height data recorded
approximately 14 times a month in December-February during 7 years and
at 2 locations in the Atlantic Ocean

Acknowledgement:
This dataset were made available by Dr. David Carter
and Dr. David Cotton, Satellite Observing Systems, UK.
bugreport
BUGREPORT Bug Report Form for WAFO

Please fill out the following form and submit it as
your report of a problem:

Title of Problem:                        (e.g. Function XXXXX makes Mistake)

Name of Submitter:
e-mail of Submitter:

Version of WAFO:
Machine Architecture (PC,Mac,Unix):

Short description of problem:





Submit programming code which reproduces the problem here:



Specify  here which file causes the problem:




If possible, suggest a fix for problem here.




Thanks for your cooperation!

history:
by pab 14.12.1999 
crossdef
CROSSDEF level v crossing definitions and nomenclature 

Definition of level v crossing:   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Let the letters 'm', 'M', 'F', 'L','d' and 'u' in the 
figure below denote local minimum, maximum, first value, last 
value, down- and up-crossing, respectively. The remaining 
sampled values are indicated with a '.'. Values that are identical 
with v, but do not cross the level is indicated with the letter 'o'.

We have a level up-crossing at index, k, if 

x(k) <  v and v < x(k+1) 
or if 
x(k) == v and v < x(k+1) and x(r) < v for some di < r <= k-1 

where di is  the index to the previous downcrossing.
Similarly there is a level down-crossing at index, k, if 

x(k) >  v and v > x(k+1)
or if 
x(k) == v and v > x(k+1) and x(r) > v  for some ui < r <= k-1 

where ui is  the index to the previous upcrossing.

The first (F) value is a up crossing if  x(1) = v and x(2) > v. 
Similarly, it is a down crossing if      x(1) = v and x(2) < v. 

M
.   .                  M                   M
.      . .             .                   .   . 
F            d               .             .       L
----------------------u-------d-------o--------------------- level v
.     .           .   .   u
.                 m
m

See also  perioddef, wavedef, tpdef, findcross, dat2tp
history:
by Per A. Brodtkorb 19.09.1999
datastructures
DATASTRUCTURES of spectrum, covariance function and density (pdf) in WAFO

To represent spectra, covariance functions and probability density functions
in WAFO, the MATLAB datatype 'structured array' is used. Here follows a list
of the fields in the struct representing S, cvf and pdf, respectively.

Spectrum structure
~~~~~~~~~~~~~~~~~~
Requisite fields:
.type  String: 'freq', 'dir', 'k2d', k1d', 'encdir' or 'enc'.
.S     Spectrum values (size=[nf 1] or [np nf]).
.w OR .f OR .k Frequency/wave number lag, length nf.
.tr    Transformation function (default [] (none)). 
.h     Water depth (default inf).
.norm  Normalization flag, Logical 1 if S is normalized, 0 if not
.note  Memorandum string.
.date  Date and time of creation or change.
Type-specific fields:
.k2    Second dim. wave number lag, if .type='k2d' or 'rotk2d', length np.
.theta Angular lags, if .type='dir', 'rotdir' or 'encdir', length np.
.v     Ship speed, if .type = 'enc' or 'encdir'.
.phi   angle of rotation of the coordinate system
(counter-clocwise) e.g. azymuth of a ship.

See also  createspec, wspecplot

Covariance function (cvf) structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.R Covariance function values. Size [ny nx nt], all singleton dim. removed.
.x     Lag of first space dimension, length nx.
.y     Lag of second space dimension, length ny.
.t     Time lag, length nt.
.h     Water depth.
.tr    Transformation function.
.type  'enc', 'rot' or 'none'.
.v     Ship speed, if .type='enc'
.phi   Rotation of coordinate system, e.g.  direction of ship 
.norm  Normalization flag, Logical 1 if autocorrelation, 0 if covariance.
.Rx ... .Rtttt   Obvious derivatives of .R.
.note  Memorandum string.
.date  Date and time of creation or change.

See also  createcov, spec2cov, cov2spec, covplot

Probability density function (pdf) structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Describing a density of n variables:
.f     Probability density function values (n-dimensional matrix)
.x     Cell array of vectors defining grid for variables (n cells)
.labx  Cell array of label strings for the variables (n cells)
.title Title string                           
.note  Memorandum string.

See also  createpdf, pdfplot
History: 
revised by IR 03.04.2001
revised pab 21.01.2000 
- spellchecked the file 
- added norm to spec
- changed reference to specplot to wspecplot
revised by es 20.10.1999 (cell arrays in pdf-struct)
by es 13.10.1999
fatigue
Fatigue in WAFO (Wave Analysis for Fatigue and Oceanography).
Version 2.1.1   28-Sep-2005 

Routines for Markov models, cycle counting, damage, and fatigue.


Cycle counting (Rainflow, min-max cycles) & Crossings. [WAFO/cycles]
dat2tp      - The turning points from data, optionally rainflowfiltered. [onedim]
dat2rfm     - Calculates the rainflow matrix from a time signal.
rfcfilter   - Rainflow filter turning points.
tp2lc       - Level crossings from turning points.
tp2mm       - min2Max (and Max2min) cycles from turning points.
tp2rfc      - Rainflow cycles from turning points.
tp2arfc     - Asymmetric rainflow cycles from TP.
tp2arfc4p   - Asymmetric RFC and residual from TP (used by tp2arfc).
res2arfc    - Asymmetric rainflow cycles for a residual.
cc2lc       - Level crossings from a cycle count.
cc2amp      - Amplitude histogram from a cycle count.
findrfc     - Finds indices to rainflow cycles of a sequence of TP. [onedim]
findcross   - Finds the indices of level v up- and down- crossings of a vector. [onedim]

Discrete loads & Cycle matrices (Rainflow matrix). [WAFO/cycles]
dat2dtp     - Discrete TP from load.
cc2dcc      - Discretization of a cycle count.
dtp2rfm     - Rainflow matrix from discrete TP.
dtp2arfm    - Asymmetric rainflow matrix from discrete TP.
dtp2arfm4p  - Asymmetric RFM and residual from discrete TP (used by dtp2arfm).
dtp2rfm_sid - RFM from discrete turning points with side information.
dtp2arfm_sid- Asymmetric RFM from discrete TP with side information.
cc2cmat     - Estimates cycle matrix from a cycle count. 
dcc2cmat    - Histogram matrix from discrete class indices.
cmat2nt     - Counting distribution from cycle matrix.
nt2cmat     - Cycle matrix from counting distribution.
cmat2lc     - Level crossings from cycle matrix.
nt2lc       - Level crossings from counting distribution.
cmat2amp    - Amplitude histogram from cycle matrix.
cmat2rmcmat - Convert cycle matrix from min-max to range-mean.
rmcmat2cmat - Convert cycle matrix from range-mean to min-max.
cmatresamp  - Resamples a cycle matrix, random resampling.
cmatcombine - Combines two cycle matrices.

Extrapolation & Smoothing of RFM/CMAT/LC. [WAFO/cycles]
rfmextrapolate - Extrapolates a rainflow matrix.
tpextrapolate  - Extrapolates a sequence of turning points.
cmat2extralc   - Extrapolate level crossing spectrum from cycle matrix.
wgpdfit_mld    - Routine for ML estimation of GPD with discrete data.
lc2rfmextreme  - Compute extreme RFM from level crossings.
extralc        - Extrapolate a level crossing spectrum.
smoothcmat     - Smooth a cycle matrix.

Plotting. [WAFO/cycles]
ccplot      - Plot cycle count.
cmatplot    - Plot cycle matrix.
cocc        - Plot a cycle count with cycle matrix isolines.
lcplot      - Plot level crossing intensity/spectrum. [onedim]
lsplot      - Plot load spectra.

Markov model. [WAFO/markov]
mat2tmat    - Convert matrix to transition matrix.
mc2stat     - Stationary distribution for a Markov chain.
mc2rfm      - RFM for a Markov chain.
mctp2stat   - Stationary distribution for a MCTP.
mctp2reverse- Calculate time-reversed MCTP.
mctp2rfm    - RFM for a Markov chain of turning points.
mctp2arfm   - Asymmetric rainflow matrix for a MCTP.
arfm2mctp   - Markov matrix given an asymmetric rainflow matrix. 
mktestmat   - Makes test matrices for min-Max (and Max-min) matrices.

Switching Markov model. [WAFO/markov]
smc2rfm     - RFM for a Switching Markov chain.
smctp2stat  - Stationary distribution for a SMCTP.
smctp2joint - Calculate joint Markov chain for a SMCTP.
smctp2rfm   - RFM for a Switching Markov chain of turning points.
smctp2arfm  - Asymmetric rainflow matrix for a SMCTP.
hmmplot     - Plot Hidden Markov Model (HMM).

Estimate a Switching Markov model. [WAFO/markov]
estsmctp    - Estimate SMCTP model from an observed RFM.
f_smctp     - Help routine to estsmtp.
estmc       - Estimate Transition matrix of MC from signal.

loglcmat    - log-Likelihood of cycle matrix.
chi2cmat    - Chi-square distance of cycle matrix.
hdcmat      - Hellinger distance of cycle matrix.
klcmat      - Kullback-Leibler distance of cycle matrix.

tr_p2x      - Transform P-matrix to X-vector (Used by 'estsmctp')
tr_x2p      - Transform X-vector to P-matrix. (Used by 'estsmctp')
tr_m2x      - Transform Model-structure to X-vector. (Used by 'estsmctp')
tr_x2m      - Transform X-vector to Model-structure. (Used by 'estsmctp')
scalemat    - Scale and translate a cycle matrix. (Used by 'estsmctp')
f_funm      - Calculate min-max matrix for Model-structure. (Used by 'estsmctp')

Fatigue & damage. [WAFO/damage]
cc2dam      - Calculate total damage from a cycle count.
cmat2dam    - Calculate total damage from a cycle matrix.
cmat2dmat   - Calculate damage matrix from cycle matrix.
lc2dplus    - Upper bound for total damage from level crossings.
snplot      - Plots S-N data and estimates parameters.
sphdam      - Calculates spherical damage for a 3-D load.
ftf         - Calculates fatigue failure time distribution.
damint      - Calculates damage intensity from counting distribution.
down2cc     - Calculates the most damaging cycle count given crossings.
roadspec    - Road spectrum.

Simulation of random loads [WAFO/wsim]
lc2sdat     - Simulates a process with given irregularity factor and crossing spectrum.
rfm2dtp     - Reconstructs a sequence of turning points from a rainflow matrix. 
mcsim       - Simulates a discrete Markov chain
mctpsim     - Simulates a discrete Markov chain of turning points
smcsim      - Simulates a switching Markov chain
smctpsim    - Simulates a switching Markov chain of turning points
sarmasim    - Simulates a switching AR- or ARMA-process

Demos. [WAFO/wdemos]
rfcdemo1       - Demo for switching AR(1)-processes.
rfcdemo2       - Demo for calculation of the RFM for a switching MCTP model.
itmkurs        - Initiate paths for Demo Load and Fatigue Analysis. 
democc         - Demo of rainflow and min-max cycle definitions.
democc_markmax - plots load and marks a maximum. (Used by democc) 
democc_rfcdef  - illustrates the definition of rainflow cycles. (Used by democc) 
democc_mmdef   - illustrates the definition of min-max cycles. (Used by democc) 
democc_tpdef   - illustrates the definition of turning points. (Used by democc) 
democc_plotmat - plots RFC and min-max counts. (Used by democc) 
getstart
GETSTART  ideas for getting started with WAFO

0). Install WAFO -- see install.m

1). Get the manual from the home page
http://www.maths.lth.se/matstat/wafo/
if you do not already have it in the DOCS directory.

2). Peak into the online documentation files by using wafomenu.m

3). Run some of the scripts in the DEMOS and PAPER directory

4). Look at the help header of a specific function and try out the
examples if given. 

5). Analyze some of the datasets in WAFO/data

6). If you have come to this point, you are an experienced WAFO
user. Congratulations.
(+) can be made more detailed
gfaks89
GFAKS89  Surface elevation measured at Gullfaks C 24.12.1989

CALL:  xn = load('gfaks89.dat')

Size             :    39000 X 2
Sampling Rate    :    2.5 Hz
Device           :    EMI laser
Source           :    STATOIL 
Format           :    ascii, c1: time c2: surface elevation
Description      :
The wave data was measured 24th December 1989 at the Gullfaks C platform  
in the North Sea from 17.00 to 21.20. The period from 20.00 to 20.20
is missing and contains NaNs.  The water depth of 218 m is  
regarded as deep water for the most important wave components.
There are two EMI laser sensors named 219 and 220. This data set is 
obtained from sensor 219, which is located in the Northwest
corner approximately two platform leg diameters away from   
the closest leg.  
Thus the wave elevation is not expected to be significantly 
affected by diffraction effects for incoming waves in the western sector.   
The wind direction for this period is from the south.
Some difficulties in calibration of the instruments have been reported
resulting in several consecutive measured values being equal or almost equal 
in the observed data set.

This dataset is for non-commercial use only.

Hm0 = 6.8m, Tm02 = 8s, Tp = 10.5

Acknowledgement:
This dataset were prepared and made available by Dr. S. Haver,
STATOIL, Norway

See also  gfaksr89, northsea
Revised pab 04.10.2000
- fixed some typing errors.
gfaksr89
GFAKSR89  Reconstructed surface elevation measured at Gullfaks C 24.12.1989. 

CALL:  xn = load('gfaksr89.dat')

Size             :    39000 X 2
Sampling Rate    :    2.5 Hz
Device           :    EMI laser
Source           :    STATOIL 
Format           :    ascii, c1: time c2: surface elevation
Description      :
This is a reconstructed version of the data in the GFAKS89.DAT file.
The following calls were made to reconstruct the data:

inds = findoutliers(gfaks89,.02,2,1.23);
gfaksr89 = reconstruct(gfaks89,inds,6);

The wave data was measured 24th December 1989 at the Gullfaks C platform  
in the North Sea from 17.00 to 21.20. The period from 20.00 to 20.20
is missing in the original data.  The  water depth of 218 m is  
regarded as deep water for the most important wave components.
There are two EMI laser sensors named 219 and 220. This data set is 
obtained from sensor 219, which is located in the Northwest
corner approximately two platform leg diameters away from   
the closest leg.  
Thus the wave elevation is not expected to be significantly 
affected by diffraction effects for incoming waves in the western sector.   
The wind direction for this period is from the south.
Some difficulties in calibration of the instruments have been reported
resulting in several consecutive measured values being equal or almost equal 
in the observed data set. 

Hm0 = 6.8m, Tm02 = 8s, Tp = 10.5

See also  gfaks89 
Revised pab 04.10.2000
- fixed some typing errors.
install
Installation description of WAFO Toolbox

Wave Analysis for Fatigue and Oceanography Toolbox
--------------------------------------------------

Unix Instructions:  
~~~~~~~~~~~~~~~~~~ 
1. Binary download the archive wafo.tar.gz 

2. Uncompress the archive by 'gunzip wafo.tar.gz'

3. Change directory to the place you want the WAFO directory to reside

4. 'tar xf wafo.tar'

5. Edit the file startup.m and give a path to the WAFO toolbox. 


PC Instructions:
~~~~~~~~~~~~~~~~
1. Binary download the file wafo1.zip to your PC. You will be asked for the
destination/directory of the compressed file. 

2. Uncompress the zip-file by means of any software EnZIP or WinZip.

3. Edit the file startup.m and give a path to the WAFO toolbox. 


Trouble-Shooting
~~~~~~~~~~~~~~~~			
If you encounter any problems, please contact us via e-mail:
igor@maths.lth.se, jesper@maths.lth.se, pab@marin.ntnu.no 
japansea
JAPANSEA  coastline map of The Japan Sea

CALL:  map = load('japansea.dat');

Size             :     692 X 2
Sampling Rate    :    
Device           :    
Source           :    http://crusty.er.usgs.gov/coast/getcoast.html
Format           :    ascii, c1: longitude c2: latitude 
Description      :
JAPANSEA.DAT contains data for plotting a map of The Japan Sea.
The data is obtained from USGS coastline extractor.

Example: the map is seen by

plot(map(:,1),map(:,2)), hold on
text(131,46,'China')
text(132,43,'Vladivostok')
text(132,40,'Japan Sea')
text(135,35,'Japan')
text(139.5,38.3,'Yura')
text(139,35.7,'Tokyo'), hold off

% If you have the m_map toolbox (see http://www.ocgy.ubc.ca/~rich/):
m_proj('lambert','long',[130 148],'lat',[30 48]);
m_line(map(:,1),map(:,2));
m_grid('box','fancy','tickdir','out');
m_text(131,46,'China');
m_text(132,43,'Vladivostok');
m_text(132,40,'Japan Sea');
m_text(135,35,'Japan');
m_text(139.5,38.3,'Yura');
m_text(139,35.7,'Tokyo');

History:
revised pab Nov 2004
-Enhanced the example with commands to the m_map toolbox.
By pab 15.01.2000
limitations
LIMITATIONS (+)  WAFO known limitations

(1) Time: Some of the routines may take a while to execute 
depending on the dimension of the problem and parameter values given.
(E.g. all the functions in the trgauss directory)

(2) Generally, we do not check to see if input parameters
are reasonable. 

(3) Some functions may have limited usability, i.e. can not
handle every type of arguments even tough its name indicate so.
This is hopefully accomplished in some future releases.
(+) Other limitations?
History
By pab 09.09.1999
mvnprodcorrprbmex
MVNPRODCORRPRBMEX Computes multivariate normal probability 
with product correlation structure.

CALL [value,error,inform]=mvnprodcorrprbmex(rho,A,B,abseps,releps,useBreakPoints);

RHO    REAL, array of coefficients defining the correlation
coefficient by:
correlation(I,J) =  RHO(I)%RHO(J) for J/=I
where 
1 <= RHO(I) <= 1
A		 REAL, array of lower integration limits.
B		 REAL, array of upper integration limits.
NOTE: any values greater the 10, are considered as
infinite values.
ABSEPS REAL absolute error tolerance.
RELEPS REAL relative error tolerance.
USEBREAKPOINTS = 1 If extra integration points should be used
around possible singularities
0 If no extra

ERROR  REAL estimated absolute error, with 99% confidence level.
VALUE  REAL estimated value for the integral
INFORM INTEGER, termination status parameter:
if INFORM = 0, normal completion with ERROR < EPS;
if INFORM = 1, completion with ERROR > EPS and MAXPTS 
function vaules used; increase MAXPTS to 
decrease ERROR;


This file was successfully compiled for matlab 5.3
using Compaq Visual Fortran 6.1, and Windows 2000.
The example here uses Fortran77 source.
First, you will need to modify your mexopts.bat file.
To find it, issue the command prefdir(1) from the Matlab command line,
the directory it answers with will contain your mexopts.bat file.
Open it for editing. The first section will look like:

rem %%%%%%%%%***********************************************************
rem General parameters
rem ********************************************************************
set MATLAB=%MATLAB%
set DF_ROOT=C:\Program Files\Microsoft Visual Studio
set VCDir=%DF_ROOT%\VC98
set MSDevDir=%DF_ROOT%\Common\msdev98
set DFDir=%DF_ROOT%\DF98
set PATH=%MSDevDir%\bin;%DFDir%\BIN;%VCDir%\BIN;%PATH%
set INCLUDE=%DFDir%\INCLUDE;%DFDir%\IMSL\INCLUDE;%INCLUDE%
set LIB=%DFDir%\LIB;%VCDir%\LIB

then you are ready to compile this file at the matlab prompt using the
following command:
mex -O mvnprodcorrprbmex.f
northsea
NORTHSEA  coastline map of The Nortsea

CALL:  map = load('northsea.dat');

Size             :     60646 X 2
Sampling Rate    :    
Device           :    
Source           :    http://crusty.er.usgs.gov/coast/getcoast.html
Format           :    ascii, c1: longitude c2: latitude 
Description      :
NORTHSEA.DAT contains data for plotting a map of The Northsea.
The data is obtained from USGS coastline extractor.

Example: the map is seen by

plot(map(:,1),map(:,2)), hold on
text( 1,62     ,'Statfjord A'), line([1.8, 1.8], [62  ,61.2 ])
plot(1.8,61.2,'x')  
text(1,60.5,'Gullfaks C'),      line([1.8, 2.3 ], [60.5 ,61.20 ])
plot(2.30,61.20,'x')
text(1,59.1,'Frigg'),           line([1.8, 2.0 ], [59.1 ,59.9 ])
plot(2.0,59.90,'x'),
text(1,57.6,'Sleipner'),        line([1.8, 1.9 ], [57.60 ,58.4 ])
plot(1.90,58.40,'x') 
text(1,56.9,'Draupner'),        line([1.8, 2.6 ], [56.90 ,57.7 ])
plot(2.6,57.7,'x'),
text(10.40,60.10,'Oslo'),      plot(10.80,59.85,'h')
text(10.00,63.05,'Trondheim'), plot(10.80,63.40,'h')
text(4.00,58.80,'Stavanger'),  plot(5.52,58.90,'h')
text(3.50,60.30,'Bergen'),     plot(5.20,60.30,'h') , hold off

% If you have the m_map toolbox (see http://www.ocgy.ubc.ca/~rich/):
m_proj('lambert','long',[-2 12],'lat',[56 64]);
m_line(map(:,1),map(:,2));
m_grid('box','fancy','tickdir','out');
m_text( 1,62     ,'Statfjord A') ;
m_line([1.8, 1.8], [62  ,61.2 ]);
m_text(1.7,61.2,'x') ;
m_text(1,59.5,'Gullfaks C') ;
m_line([1.8, 2.3 ], [59.50 ,61.20 ]);
m_text(2.20,61.20,'x') ;
m_text(10.10,60.05,'Oslo'); 
m_text(8.5,63.5,'Trondheim'); 
m_text(4.00,58.80,'Stavanger'); 
m_text(3.50,60.30,'Bergen') ;
m_text(8,61,'Norway');
History
revised pab Nov 2004
-Enhanced the example with commands to the m_map toolbox
By pab 06.07.00
perioddef
PERIODDEF wave periods (lengths) definitions and nomenclature

Definition of wave periods (lengths):
---------------------------------------


<----- Direction of wave propagation 

<-------Tu--------->
:                  :
<---Tc----->       :
:          :       : <------Tcc---->
M           :      c   :       : :             :
/ \          : M   / \_ :       : c_            c
F   \         :/ \m/    \:       :/  \          / \  
------d--------u----------d-------u----d--------u---d-------- level v
\      /            \     /     :\_    _/:   :\_   L
\_   /              \_t_/      :  \t_/  :   :  \m/
\t/                 :        :        :   :
:                  :        <---Tt--->   : 
<--------Ttt------->        :            :
<-----Td----->
Tu   = Up crossing period
Td   = Down crossing period
Tc   = Crest period, i.e., period between up crossing and 
the next down crossing 
Tt   = Trough period, i.e., period between down crossing and 
the next up crossing
Ttt  = Trough2trough period
Tcc  = Crest2crest period


<----- Direction of wave propagation 

<--Tcf->                              Tuc
:      :               <-Tcb->        <-> 
M            :      c               :     :        : :
/ \           : M   / \_             c_    :        : c
F   \          :/ \m/    \           /  \___:        :/ \  
------d---------u----------d---------u-------d--------u---d-------- level v
:\_      /            \     __/:        \_    _/     \_   L
:  \_   /              \_t_/   :          \t_/         \m/
:    \t/                 :     :
:     :                  :     : 
<-Ttf->                  <-Ttb-> 


Tcf  = Crest front period, i.e., period between up crossing and crest
Tcb  = Crest back period, i.e., period between crest and down crossing 
Ttf  = Trough front period, i.e., period between down crossing and trough
Ttb  = Trough back period, i.e., period between trough and up crossing 

Also note that Tcf and Ttf can also be abbreviated by their crossing
marker, e.g. Tuc (u2c)  and Tdt (d2t), respectively. Similar applies to all the
other wave periods and wave lengths. 
(The nomenclature for wave length is similar, just substitute T and
period with L and length, respectively)

<----- Direction of wave propagation 

<--TMm-->
<-TmM->    :       :
M       :     :    M       :
/ \      :     M   /:\_     :     M_            M
F   \     :    / \m/ :  \    :    /: \          / \  
\    :   /      :   \   :   / :  \        /   \
\   :  /       :    \  :  /  :   \_    _/     \_   L
\_ : /        :     \_m_/   :     \m_/         \m/
\m/         :             :      :            :
<-----TMM----->      <----Tmm----->


TmM = Period between minimum and the following Maximum
TMm = Period between Maximum and the following minimum
TMM = Period between Maximum and the following Maximum
Tmm = Period between minimum and the following minimum

See also  wavedef, ampdef, crossdef, tpdef
history:
revised pab 15.05.2000
- minor corrections for Tcb
- added Tmm, TMM, etc.....
revised pab 21.01.2000
- updated help header
-  changed from: Wave propagating direction 
to: Direction of wave propagation
by Per A. Brodtkorb 19.09.1999
readme
README Readme file for module WSIM in WAFO Toolbox 

This file describes new features, bug fixes, and changes in this version 
of the WAFO Toolbox.

Version 2.1.1   07-Sep-2005

FIXES
~~~~~
spec2sdat    - small fix
seamovie     - fixed a bug: in matlab7: "Mv =[]; Mv(j) = getframe;"
does not work, now fixed.
seasim       - added fwaitbar and removed disp statements
spec2linspec - changed the default constant controlling its
performance. Can be improved further.


NEW FUNCTIONS
~~~~~~~~~~~~~
rfm2dtp      - Reconstructs a sequence of turning points from a rainflow matrix.
Replaces the function rfc2load.

----------------------------------------------------------------
Version 2.1.0   07-Apr-2004

This file describes new features, bug fixes, and changes in this version 
of the WAFO Toolbox.


FIXES
~~~~~
disufq1.c   - is renamed to disufq.c
spec2nlsdat - changed call from disifq1 to disufq
derivate.m  - is no longer needed and hence deleted 
smctpsim    - Corrections concerning initial state of regime process
and simulation of non-Markovian regime process.

----------------------------------------------------------------
Version 2.0.5   14-Jun-2003

This file describes new features, bug fixes, and changes in this version 
of the WAFO Toolbox.


FIXES
~~~~~
smctpsim    - 'RFM' option didn't work cause x was not initiated. Now fixed!
sea
SEA Surface elevation dataset used in WAT version 1.1.

CALL:  xn = load('sea.dat');

Size             :    9524    X    2
Sampling Rate    :    4.0 Hz
Device           :    unknown
Source           :    unknown
Format           :    ascii, c1: time c2: surface elevation
Description      :
The wave data was used in one of WAFO predecessors, i.e. the Wave 
Analysis Toolbox version 1.1 (WAT)

Hm0 = 1.9m, Tm02 = 4.0s, Tp2 = 11.5s Tp1=5.6s

See also  
sfa89
SFA89 Wind measurements at Statfjord A 24.12.1989

CALL:  xn = load('sfa89.dat');

Size             :    144 X 3
Sampling Rate    :     1/600 Hz
Device           :    
Source           :    DNMI (The Norwegian Meteorological Institute)
Format           :    ascii, c1: time     (hours) 
c2: velocity (m/s) 
c3: direction (degrees) 
Description      :
The registration of wind speeds at the Gullfaks field 
started up on Statfjord A in 1978 and continued until 1990.  
The dataregistration was transferred to Gullfaks C in Nov 1989. 
Due to some difficulties of the windregistration on Gullfaks C in 
the beginning, they continued to use the registered data from 
Statfjord A. 
The windspeed is measured in  (meter/second), 110 m above mean water 
level (MWL) and the wind direction is given in degrees for the data.
The data are a mean value of every 10 minutes.
Wind directions are defined in the meteorological convention, i.e., 
0 degrees = wind approaching from North, 90 degrees = wind from East, etc. 

This dataset is for non-commercial use only.

Acknowledgement:
These data are made available by Knut A. Iden, DNMI.

See also  northsea
sn
SN Fatigue experiment, constant-amplitude loading.

CALL:  sn = load('sn.dat');

Size             :    40    X    2
Source           :    unknown
Format           :    ascii, c1: Amplitude MPa c2: Number of cycles

A fatigue experiment with constant amplitudes at five levels:
10,15,20,25 and 30 MPa. For each level is related 8 observations of
the number of cycles to failure.

The origin of the data is unknown. 

See also  The same data appear in the directory wdemos/itmkurs/ 
as SN.mat. 
startup
STARTUP example startup file to put in your matlab path

You should install the WAFO toolbox according to the description given
in the install.m file. Then modify this file so that the root directory of
WAFO defined in this file comply with the installation on your machine. 

See also  install
add the WAFO root directory to the search path
modify the line below if this does not comply with 
your machine
adds the subdirectories of WAFO to the search path
Edit '/Path/to/nctoolbox' to correct nctoolbox directory
tpdef
TPDEF turning points definitions and numenclature

Definition of turningpoints: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Local minimum or maximum are indicated with the
letters 'm' or 'M'. Turning points in this connection are all
local max (M) and min (m) and the last (L) value and the 
first (F) value if the first local extremum is a max. 

(This choice is made in order to get the exact up-crossing intensity
from rfc by mm2lc(tp2mm(rfc)) )

Definition of min2min and Max2Max wave:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A min2min wave (mw) is defined starting from a minimum and  
ending in the following minimum.
Similarly a Max2Max wave (Mw) is thus a wave from a maximum 
to the next maximum (all waves optionally rainflow filtered).

Definition of Max2min and min2Max cycle:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A min2Max cycle (mM) is defined as the pair of a minimum
and the following Maximum. Similarly a Max2min cycle (Mm) 
is defined as the pair of a Maximum and the following minimum.
(all cycles possibly rainflowfiltered)

<----- Direction of wave propagation 

M                  M
/ \       .... M   /:\_           M_            M
F   \     |    / \m/ :  \         /: \          / \  
\  h |   /      :   \       / :  \        /   \
\   |  /       :    \     /  :   \_    _/     \_   L
\_ | /        :     \_m_/   :     \m_/         \m/
\m/         :             :      :            :
<------Mw----->      <-----mw----->

See also  wavedef, crossdef, dat2tp
history:
by Per A. Brodtkorb 19.09.1999
revised pab 15.05.2000
wafohelp
WAFOHELP  Launch HTML help for the WAFO Toolbox.

CALL:  URL = wafohelp(BN)

URL = string with the URL address of WAFO.
BN  = 'yes' If display URL site
'no'  If no display of URL site

WAFOHELP displays and/or returns the HTML help
site for the WAFO Toolbox.  

Examples
url = wafohelp('n'); web(url)
wafohelp 
wafohelp('yes')

See also  web
Tested on: Matlab 5.2
History:
by pab 19.11.2004
ButtonName =  questdlg('Go To WAFO Toolbox Home Page?', 'WWW', 'Yes', 'No', 'No'); 
wafomenu
WAFOMENU displays a user interface to the documentation files of WAFO

CALL:  wafomenu(kind)

kind = 0, displays a point and click menu (default)
1, displays a text driven menu

See also  docs
history
revised pab 21.01.2000
- added kind
- changed h1 line and ordering of menu
- added aboutwafo
By pab 17.12.1999
wafoweb
WAFOWEB  World Wide Web site of the WAFO Toolbox.

CALL:  URL = wafoweb(BN)

URL = string with the URL address of WAFO.
BN  = 'yes' If display URL site
'no'  If no display of URL site

WAFOWEB displays and/or returns the WWW
site for the WAFO Toolbox.  If no input argument 
is givendisplayed, a dialog asks whether to go there.

Examples
url = wafoweb('n'); web(url)
wafoweb 
wafoweb('yes')

See also  web
Tested on: Matlab 5.2
History:
by pab 19.06.2001
if nargout>0, ButtonName = 'No';  else,    ButtonName ='Yes';  end
wavedef
WAVEDEF Wave definitions and nomenclature 

Definition of trough and crest: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A trough (t) is defined as the global minimum between a
level v down-crossing (d) and the next up-crossing (u)  
and a crest (c) is defined as the global maximum between a
level v up-crossing and the following down-crossing.

Definition of down- and up -crossing waves: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A level v-down-crossing wave (dw) is a wave from a 
down-crossing to the following down-crossing.
Similarly, a level v-up-crossing wave (uw) is a wave from an up-crossing 
to the next up-crossing.

Definition of trough and crest waves: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A trough-to-trough wave (tw) is a wave from a trough (t) to the 
following trough. The crest-to-crest wave (cw) is defined similarly.

Definition of min2min and Max2Max wave:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A min2min wave (mw) is defined starting from a minimum (m) and  
ending in the following minimum.
Similarly a Max2Max wave (Mw) is thus a wave from a maximum (M) 
to the next maximum (all waves optionally rainflow filtered).

<----- Direction of wave propagation


<------Mw-----> <----mw---->
M             : :  c       :
/ \            M : / \_     :     c_            c
F   \          / \m/    \    :    /: \          /:\  
------d--------u----------d-------u----d--------u---d-------- level v
\      /:           \  :  /: :  :\_    _/  : :\_   L
\_   / :            \_t_/ : :  :  \t_/    : :  \m/
\t/  <-------uw---------> :  <-----dw----->
:                  :     :             : 
<--------tw-------->     <------cw----->              

(F= first value and L=last value).

See also  tpdef, crossdef, dat2tc, dat2wa, dat2crossind
history:
revised pab 21.01.2000
-  changed  from: Wave propagating direction 
to: Direction of wave propagation
by Per A. Brodtkorb 19.09.1999
yura87
YURA87  Surface elevation measured off the coast of Yura.

CALL:  xn = load('yura87.dat');

Size             :    85547 X 4
Sampling Rate    :    1 Hz
Device           :    ultrasonic wave gauges
Source           :    SRI, Ministry of Transport, Japan 
Format           :    ascii, c1: time (sec) c2-4: surface elevation (m)
Description      :
The wave data was measured at the Poseidon platform  
in the Japan Sea from 24th November 1987 08.12 hours to 25th November 
1987 07.57 hours. Poseidon was located 3 km off the coast of Yura 
in the Yamagata prefecture, in the Japan Sea during the measurements. 
The most important wave components are to some extent influenced by the 
water depth of 42 m. The data are measured with three ultrasonic wave 
gauges located at the sea floor and the relative coordinates of the 
gauges are as follows (x-axis points to the East, y-axis points to 
the North):
X (m)    Y (m)
c2:   -4.93,    25.02
c3:    5.80,    92.12
c4:    0.00,     0.00

This dataset is for non-commercial use only.

Hm0 = 5.1m, Tm02 = 7.7s, Tp = 12.8s

Acknowledgement:
This dataset were prepared and made available by Dr. Sc. H. Tomita, 
Ship Research Institute, Ministry of Transport, Japan.

See also  japansea