⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 opdl2.m

📁 这是一个关于hht变换很有用的工具箱
💻 M
字号:
function z=opdl2(nam,n,k)
 
% The function OPDL2 opens and reads 2-D binary file in 'double 64' format.
%
% Example-
% 	x=opdl2('x',1000,9).
%
% Calling sequence-
% z=opdl2(nam,n,k)
%
% Input-
%	nam	- string, that represents the name of the file
%	n	- 1st dimension of the data
%	k	- 2nd dimension of the data
% Output-
%	z	- 2-D data z(n,k) in memory

%----- Open the file
fd=fopen(nam,'rb');

%----- Read the record in memory
z=fread(fd,[n,k],'float64');

%----- Close the file
fclose(fd);
return

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -