Nobuhito Mori
Navigation :
開始行:
*データの読み書き+フーリエ解析 [#x8fc9880]
-.matデータ'crf_wind.mat'を読み込み,一番始めの行成分[u(1...
# load
-textデータ'crf_wind.dat'を読み込み,一番始めの行成分[u(1...
# fopen, fscanf, fclose
-u(1,:)のスペクトルを計算し,対数軸でプロットしなさい.
# loglog
-u(1,:)のスペクトルからべき乗則を求め,Kolmogorovスペクト...
# loglog, polyfit
*データ [#q8b2fee4]
- [[テキストデータ>Home:files/education/crf_wind.dat]]
- [[Matlabバイナリーデータ>Home:files/education/crf_wind....
参考
% crf_wind.datの出力フォーマット
filename_tmp = strcat('filename_w','.dat')
fid = fopen( 'crf_wind.dat', 'w' );
fprintf( fid, '%5d %5d\n', nt, nz );
fprintf( fid, '%12.5e\n', dt );
fprintf( fid, '%12.5e', z(1:nz) );
fprintf( fid, '\n' );
for iz=1:nz
fprintf( fid, '%12.5e', u(iz,:) );
fprintf( fid, '\n' );
end
fclose(fid);
終了行:
*データの読み書き+フーリエ解析 [#x8fc9880]
-.matデータ'crf_wind.mat'を読み込み,一番始めの行成分[u(1...
# load
-textデータ'crf_wind.dat'を読み込み,一番始めの行成分[u(1...
# fopen, fscanf, fclose
-u(1,:)のスペクトルを計算し,対数軸でプロットしなさい.
# loglog
-u(1,:)のスペクトルからべき乗則を求め,Kolmogorovスペクト...
# loglog, polyfit
*データ [#q8b2fee4]
- [[テキストデータ>Home:files/education/crf_wind.dat]]
- [[Matlabバイナリーデータ>Home:files/education/crf_wind....
参考
% crf_wind.datの出力フォーマット
filename_tmp = strcat('filename_w','.dat')
fid = fopen( 'crf_wind.dat', 'w' );
fprintf( fid, '%5d %5d\n', nt, nz );
fprintf( fid, '%12.5e\n', dt );
fprintf( fid, '%12.5e', z(1:nz) );
fprintf( fid, '\n' );
for iz=1:nz
fprintf( fid, '%12.5e', u(iz,:) );
fprintf( fid, '\n' );
end
fclose(fid);
ページ名:
MENU
INTRODUCTION
RESEARCH
EDUCATION
MEMO
COMPUTER
RESEARCH
ETC
LINK
最新の5件
2024-03-23
Publications/Journal Papers
2024-03-17
Introduction/CV in English
Introduction/CV in Japanese
2024-02-01
Publications/学会発表講演集・アブストラクト
2024-01-26
Publications/メディア等
カスタム検索
Counter
Total : 0
Today : 0
Yesterday : 0
Edit Menu
[
新規
] [
ヘルプ
]
Site Search
AND
OR