代码搜索结果

找到约 10,000 项符合 S 的代码

counter.js

function s_rep(s, o, n) { var i = s.indexOf(o), l = n.length > 0 ? n.length : 1; while (s && i >= 0) { s = s.substring(0, i) + n + s.substring(i + o.length);

string_add.cpp

/* * This file contains code from "C++ Primer, Fourth Edition", by Stanley B. * Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the * copyright and warranty notices given in that

usbio_ti.inf

; ; USBIO Setup Information file ; Copyright (c) Thesycon GmbH 1998-2001 ; ; To create a customized version of this file ; modify sections marked with ### modify here ### ; For details, refer to

chmod.c

#include #include #include #include int main(int argc,char *argv[]) { int i; mode_t mode; if(argc < 3) { if(argc == 2)

kalmanf(revised suggestion).txt

Date: 2008-01-25 From: Yi Cao Rating: Comments: This is a very popular file in the File Exchange. The function itself is excelent. However, I just noticed that the example provide with the file

counter.js

function s_rep(s, o, n) { var i = s.indexOf(o), l = n.length > 0 ? n.length : 1; while (s && i >= 0) { s = s.substring(0, i) + n + s.substring(i + o.length);

counter.js

function s_rep(s, o, n) { var i = s.indexOf(o), l = n.length > 0 ? n.length : 1; while (s && i >= 0) { s = s.substring(0, i) + n + s.substring(i + o.length);

counter.js

function s_rep(s, o, n) { var i = s.indexOf(o), l = n.length > 0 ? n.length : 1; while (s && i >= 0) { s = s.substring(0, i) + n + s.substring(i + o.length);

pushbutton2.m

clear Eb_N0=4 %Eb/N0 in dB s3 = STR2MAT(inputdlg('请输入信源序列','输入对话框')) s3=str2num(s3) M=2*length(s3); Na=4; %示波器扫描宽度为4个码元 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

exm0414_1.m

%exm0414_1.m rand('<mark>s</mark>tate',0);a=rand(2,2); %产生 随机阵 <mark>s</mark>1=num2<mark>s</mark>tr(a) %把数值数组转换为串数组 <mark>s</mark>_<mark>s</mark>=<mark>s</mark>printf('%.10e\n',a) %10数位科学记述串,每写一个元素就换行。 fprintf('%.5g\\',a) %以5位数位最短形式显示。不能赋值用 <mark>s</mark>_<mark>s</mark><mark>s</mark>can=<mark>s</mark><mark>s</mark>canf(<mark>s</mark>_<m ...