代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/481066/6657300
asv ainet.asv
function [M,D] = inet(Ag,ts,n,N,gen,qi,tp)
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% February, 2000
% Immune Network (iNet) - Description in iNet.doc
% Obs.: for simplicity of comprehension
www.eeworm.com/read/481066/6657318
m abnet.m
function [w,win,cwin,D] = abnet(ag,eps,comp,alfa,beta,pc,pm),
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% June, 1999
% Pattern Recognition in the Immune System using a Growing SOM
% Bipolar S
www.eeworm.com/read/481066/6657322
m ainet.m
function [M,D] = inet(Ag,ts,n,N,gen,qi,tp)
%
% Ph.D. Thesis
% Leandro Nunes de Castro
% February, 2000
% Immune Network (iNet) - Description in iNet.doc
% Data normalization over [0,1] require
www.eeworm.com/read/480713/6660094
m flame.m
function flame
% FLAME A stiff ordinary differential equation.
% A ball of fire grows until its radius is just large enough that all of
% the oxygen available through the surface is consumed by co
www.eeworm.com/read/480713/6660141
m goldfract.m
function goldfract(n)
%GOLDFRACT Golden ratio continued fraction.
% GOLDFRACT(n) displays n terms.
p = '1';
for k = 1:n
p = ['1+1/(' p ')'];
end
p
p = 1;
q = 1;
for k = 1:n
s =
www.eeworm.com/read/480529/6665826
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
%为了检验该程序,
www.eeworm.com/read/478401/6716194
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/478462/6717929
asv hide1.asv
clc;
clear all;
b=imread('vis.jpg');
b=rgb2gray(b);
[h,w]=size(b);
figure(1);
subplot(1,2,1);
imshow(b);
title('Original Image');
% b
t=input('Enter the text to be hidden:','s');
l=length
www.eeworm.com/read/477110/6747937
m plot.m
%PLOT Plot a quaternion object
%
% PLOT(Q)
%
% Display the quaternion as a rotated coordinate frame.
%
% SEE ALSO: QUATERNION
% Copyright (C) 1999-2008, by Peter I. Corke
%
% This file is part of Th
www.eeworm.com/read/476738/6749085
c ctlstr.c
#include "calld.h"
/*
* Make a printable string of the character "c", which may be a
* control character. Works only with ASCII.
*/
char *
ctl_str(unsigned char c)
{
static char tempstr[6]; /*