SAC_Sun2PC_mat

버전 1.0.0.0 (4.86 KB) 작성자: Christos Saragiotis
This is utility to read SAC (Seismic Analysis Code) binary files created on/for SUN platform.
다운로드 수: 2.7K
업데이트 날짜: 2003/8/18

라이선스 보기

Syntax: sac_sun2pc_mat('filename')

Reads the SAC binary files from/for SUN platform and creates a .mat file that consists of
1. a structure, H, that contains all the header information and
2. a vector, X, that contains the waveform.

The input file 'filename' must be either a sac file with extension .sac or a path. In the latter case all sac files in this path are converted.

The path must be the full path, i.e., 'C:\Data\920611_001538_00_405'.

The mat files are saved in the folder, in which the original .sac file exists.

The SAC format files and names of variables are based on documentation, I have found in the internet. Some SAC Header variables that are 'not currently used' (according to the documentations, I found) are in comments, whereas others are ommitted.

This file has been tested (not thoroughly, though) using Matlab 6.5 but should be working on all other previous Matlab 6 or 5 versions as well.

Note that the file is NOT guaranteed to work perfectly, so please check your results.

Please send any comments or corrections to csar@auth.gr

SAC_SUN2PC_MAT written by C. D. Saragiotis on August 14th, 2003

인용 양식

Christos Saragiotis (2024). SAC_Sun2PC_mat (https://www.mathworks.com/matlabcentral/fileexchange/3859-sac_sun2pc_mat), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Seismology에 대해 자세히 알아보기
도움

줌: sacsun2mat/sacpc2mat

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0