해양 조석의 분조 데이터 추출을 위해 조화상수 추출
목표
1. t_tide 파일 적용
2. t_tide 사용법
t_tide 파일 적용
1. 아래 사이트의 zip 파일 링크 클릭을 통해 다운로드
https://www.eoas.ubc.ca/~rich/#T_Tide
Rich Pawlowicz's Matlab Stuff
M_Map is a collection of routines that allow you to draw publication-quality maps in 18 different projections. M_Map includes a simple coastline and elevation database, and allows you to add your own data to those maps. Requires Matlab version 5 (or higher
www.eoas.ubc.ca
2. 압축 해제 후, matlab tool_box 경로에 파일 추가
t_tide 사용법
1. 입력값
- amplidue : 진폭
- time_interval : 시간 간격 ( 1 = 1hour )
- start : 시작 시간
- latitude : 위도 ( degree )
- 'synthesis' : 필터링 계수 ( 계수 ∝ 필터링 파워(?) )
* 이외에도 더 많은 파라미터들이 있지만 제가 현재 사용하는 설정 위주로 설명했습니다.
더 많은 정보는 t_tide 함수의 주석을 통해 알 수 있습니다.
* 시간 입력값은 datenum 형식 이어야 합니다.
* 진폭 입력값은 결측 구간이 존재할 시, 생략하지 말고 nan으로 입력해야 합니다.
2. 결과값
- tide_struct
- name : 분조 이름
- freq : 주기
- tidecon
- 분조 조위
- 분조 조위의 95% 신뢰구간
- 분조 위상
- 분조 위상의 95% 신뢰구간
3. 코드
% t_tide
tide_struct = t_tide(amplitude, ...
'interval',time_interval, ...
'start',start_time, ...
'latitude',latitude, ...
'synthesis',1);
|
'matlab' 카테고리의 다른 글
[ matlab ] cellfun (0) | 2024.01.27 |
---|---|
특정 형식 시간 데이터 처리 'T' (0) | 2023.10.27 |
structure 특정 값 추출 (0) | 2023.10.04 |
[ matlab ] textscan (0) | 2023.07.31 |
[ matlab ] 데이터 읽기 방법 (textscan / importdata) (0) | 2023.06.05 |