svdl.m

来自「一种新的时频分析方法的matlab源程序。」· M 代码 · 共 26 行

M
26
字号
function z=svdl(nam,x)
 
% The function SVDL saves data x as binary file with the name nam 
% in 'double 64' format.
%
% Example-
% 	svdl('x',x)
%
% Calling sequence-
% z=svdl(nam,x)
%
% Input-
%	nam	- string, that represents the name of the file
%	x	- data record in memory
% Output-
%	z	- operation indicator

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

%----- Read the record in memory
fwrite(fd,x,'float64');

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

⌨️ 快捷键说明

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