opdl.m
来自「一种新的时频分析方法的matlab源程序。」· M 代码 · 共 24 行
M
24 行
function z=opdl(nam)
% The function OPDL opens and reads 1-D binary file in 'double 64' format.
%
% Example-
% x=opdl('x')
%
% Calling sequence-
% z=opdl(nam)
%
% Input-
% nam - string, that represents the name of the file
% Output-
% z - 1-D data record in memory
%----- Open the file
fd=fopen(nam,'rb');
%----- Read the record in memory
z=fread(fd,'float64');
%----- Close the file
fclose(fd);
return
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?