代码搜索结果
找到约 10,000 项符合
E 的代码
e0456.m
num=10*[1 2] ;
den=poly([-1; -3; -4]) ;
[res, poles, k]=residue(num, den)
e0433.m
a=[2 1 1 -1 -2 2;1 -1 2 1 -1 4;2 -3 4 3 -1 8];rref(a)
e0436.m
H=magic(8);A=H(:,2:4);B=H(:,5:8);theta=subspace(A,B)
e0408.m
a = [1 2 3; 3 9 6; 4 10 8; 4 0 7];
sort(a,1)
sort(a,1,'ascend') %对矩阵a的各列进行升序排列
sort(a,2)
sort(a,2,'ascend')%对矩阵a的各行进行升序排列
sort(a,1,'descend')%对矩阵a的各列进行降序排列
sort(a,2,'descend')%对矩阵a的各行进行降序排列
e0409.m
a = ['one ','two ','three ','four ','five'];
sortrows(a)% 对字符串,以字典序排列
e0413.m
n=input('please input the order of magic matrix')
a=magic(n);
diag(a)% 提取a的主对角线
for ii=1:n-1
diag(a,ii) % 提取a的主对角线上方的次对角线
diag(a,-ii) % 提取a的主对角线下方的次对角线
end
e0430.m
A=[2 2 -1 1;4 3 -1 2;8 3 -3 4;3 3 -2 -2] ;
cond(A,1)%求A的1—条件数
cond(A) %求A的2—条件数
cond(A,inf) %求A的 —条件数
e0454.m
p=[1 -5 0 8];a=[2 3 5 ;5 8 1;7 6 9];
polyvalm(p,a)
polyval(p,a)
e0466.m
global ki;ki=0;
I=dblquad('fxy',-2,2,-1,1)
e0420.m
a=[-1 2 0;-2 3 0;3 0 2];
inv(a)