A little late Nazmul, but I hope this answer can help to other people with the same doubt.
All tidal analysis requires two input parameters:
The sea levels can be mesured with devices as CTD or mareographs. Depending on the frequency sample of these devices you will get a sea level record o time series.
You will probably need to preprocess the data, before to use a tidal tool to get the harmonic analysis.
To perform the tidal analysis and prediction you are going to requiere some software as:
- TIDE, Delft3d suite, Deltares (commercial software).
- Tidal analysis and prediction, Mike 21 suite, DHI (commercial software)
- or some program o scripts developed by a reserch center or university.
As we are in a Matlab forum, my advice would be you should check: T_tide, World Tides, LP-Tides, Tidal fitting toolbox, etc.