This commit is contained in:
2023-07-26 00:46:01 +08:00
parent c7cbcd09af
commit 822fa7e626
212 changed files with 5687 additions and 5687 deletions

View File

@@ -0,0 +1,41 @@
% This code is supported by the website: https://www.guanjihuan.com
% The newest version of this code is on the web page: https://www.guanjihuan.com/archives/766
%matlab%
%ctrl+Rctrl+T
clc; %clc
clear all; %clear all
clf; %clf
aa=1 %;,
bb=2; %;
cc1=zeros(2,3) %zeros()
cc2=eye(3,3) %
%
matrix1=[3,3;3,3] %1
matrix2=[2,0;0,2]
matrix_product_1=matrix1*matrix2 % *
matrix_product_2=matrix1.*matrix2 % .*
%
for i0=1:0.5:2 %forenda:b:cacb
for_result=i0+1i %imatlabi
end
%
if aa~=1 %matlab~===
dd=100
else
dd=300
end
matrix=[2,3;5,7]
%
[V,D]=eig(matrix) %matlabVD
%
inv1=inv(matrix) %
inv2=matrix^-1 %
%
plot([0:20],[10:-1:-10],'-o') %