代码搜索:sprintf

找到约 7,065 项符合「sprintf」的源代码

代码结果 7,065
www.eeworm.com/read/310212/13654664

m psd.m

function [Pxx, Pxxc, f] = psd(varargin) %PSD Power Spectral Density estimate. % Pxx = PSD(X,NFFT,Fs,WINDOW) estimates the Power Spectral Density of % signal vector X using Welch's averaged per
www.eeworm.com/read/310212/13654917

m dpssload.m

function [E,V] = dpssload(N,NW) %DPSSLOAD Load discrete prolate spheroidal sequences from database. % [E,V] = DPSSLOAD(N,NW) are the DPSSs E and their concentrations V, with % length N and t
www.eeworm.com/read/309649/13667126

c hexdump.c

/* +++Date last modified: 05-Jul-1997 */ /* ** HEXDUMP.C - Dump a file. ** ** Originally written By Paul Edwards ** Released to the public domain ** ** Modified for SNIPPETS by Bob Stout
www.eeworm.com/read/309123/13681727

h uhci-debug.h

/* * UHCI-specific debugging code. Invaluable when something * goes wrong, but don't get in my face. * * Kernel visible pointers are surrounded in []'s and bus * visible pointers are surrounded i
www.eeworm.com/read/308602/13698934

m e0242.m

x=5317;y=int2str(x) p=num2str(pi,7) a=[1 2 3;4 5 6] ; b=mat2str(a) str=sprintf('The value of pi=%8.6f.',pi)
www.eeworm.com/read/307594/13719753

m untitled3.m

close all clear clc s=sprintf('程序运行中...') T1=clock; L=-2*pi;R=2*pi;h=0.01;disp(s) X=qujian(L,R,h); if X==0 fprintf('方程在区间[%g,%g]内无实根\n',L,R) return else pause(1) [m,n]=size
www.eeworm.com/read/307390/13723480

m eigs2.m

function varargout = eigs2(varargin) % % Slightly modified version from matlab eigs, Timothee Cour, 2004 % % EIGS Find a few eigenvalues and eigenvectors of a matrix using ARPACK. % D = EIG
www.eeworm.com/read/307174/13727244

m sor.m

%Successive Over Relaxation迭代程序 function [x,sp]=sor(a,b,n,x1,w) %误差 e=ones(n,1); %迭代的解向量 x2=zeros(n,1); %迭代的次数 k=0; %当误差没有满足要求时继续迭代 while norm(e,2)>1e-6 %每隔5步显示迭代结果 if (rem(k,5)==0)
www.eeworm.com/read/307174/13727260

m jac.m

%Jacobian迭代程序 function [x,sp]=jac(a,b,n,x1) %误差 e=ones(n,1); %迭代的解向量 x2=zeros(n,1); %迭代的次数 k=0; %当误差没有满足要求时继续迭代 while norm(e,2)>1e-6 %每隔5步显示迭代结果 if (rem(k,5)==0) str=sprintf('X
www.eeworm.com/read/304826/13786161

txt 10-41.txt

%例10-41 运行错误的处理。 %编制M文件如下。 function d=yunxingcuowu(a,b,c) d=a/b; if isinf(d) %对可能产生的inf值做出判断 sprintf('b should not be 0') return else d=d*c; end %为了检验该程序,