20251117
This commit is contained in:
1 parent
4bd2d87fc4
commit
1b3b07a7f6
35 files changed
+454
No files matched your search
@@ -0,0 +1,8 @@
|
||||
% 第一题
|
||||
|
||||
A=[3,4,-7,-12;5,-7,4,2;1,0,8,-5;-6,5,-2,10];
|
||||
B=[4;-3;9;-8];
|
||||
% 系数矩阵的秩
|
||||
rank(A)
|
||||
% 方程的解
|
||||
C = A\B
|
||||
@@ -0,0 +1,6 @@
|
||||
% 练习3 第二题
|
||||
x=-10:1:10;
|
||||
y=-10:1:10;
|
||||
[X,Y]=meshgrid(x,y);
|
||||
Z=sin(sqrt(X.^2+Y.^2))./(sqrt(X.^2+Y.^2));
|
||||
surf(X,Y,Z)
|
||||
@@ -0,0 +1,7 @@
|
||||
num=[1];
|
||||
den=[1 2 2 1];
|
||||
sys=tf(num,den);
|
||||
figure(1); pzmap(sys); title('零极点图');
|
||||
figure(2); impulse(sys);
|
||||
w=0:0.1:10*pi;
|
||||
figure(3); freqs(num,den,w)
|
||||
Loaded 3 of 35 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user