代码搜索结果

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

e0253.m

NAMES = fieldnames(s)

e0209.m

m1=magic(2) %产生2阶魔方阵 m2=magic(3) %产生3阶魔方阵

e0245.m

c=cell(2); c{1,1}=('This is the third example.'); c{1,2}=compan([1 0 3]); c{2,1}=[3+4*i -5;-10*i 3-4*i]; c{2,2}=[];%元胞数组的第四个元素为空矩阵 c% 查看c 的内容

e0201.m

a=1% a为标量 b=[0 1] % b为行向量 c=[1 2;3 4;5 6] % c为矩阵即二维数组

e0216.m

x=1:2:9, y=x' %在命令窗口输入简捷表达式建立行向量x和y, '为转置运算 x3=x(3),y3=y(3) %引用第三个元素5 x5=x(5),y5=y(5)% 用序号形式引用最后一个元素9 x5=x(end),y5=y(end) %用end函数引用最后一个元素9 x(2)=10,y(3)=10%对第二个元素重新赋值

e0240.m

test='This is a test!'; position=findstr(test,'is') array=strvcat('maxarray','min value','max value'); result_1=strmatch('max',array) result_2=strrep(test,'test','pest') [token,remainder]=strtok(

e0232.m

%方法1: A=[4 -3 1;2 0 5];B=[1 2 0;-1 0 3]; A-2*B %方法2: A=[4 -3 1;2 0 5];B=[1 2 0;-1 0 3]; b=uminus(2*B) %,返回2*B的相反数 A+b

e0228.m

u=1:4;v=3:6;S=[0.1 0.2 0.3 0.4]; spa=sparse(u,v,S) a=full(spa)

e0205.m

x=[-1.3 1+2+3 sqrt(5)]

e0236.m

x=30:30:90;sind(x),cosd(x),tand(x),cotd(x)