1 Star 0 Fork 0

tt56039/APFDesign

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MA.m 928 Bytes
一键复制 编辑 原始数据 按行查看 历史
baobaoluo 提交于 2024-03-24 11:36 . final
%--------------------------------------------------------------------------
% Edited by bbl
% Date: 2024-03-23(yyyy-mm-dd)
% simplify eq
%--------------------------------------------------------------------------
function A = MA(R1, C1, w)
I = [ 1, 0, 0, 0;
0, 1, 0, 0;
0, 0, 1, 0;
0, 0, 0, 1;];
IC1 = [ 0, 0, 0, 1;
1, 0, 0, 0;
0, 1, 0, 0;
0, 0, 1, 0;];
IC2 = [ 0, 1, 0, 0;
0, 0, 1, 0;
0, 0, 0, 1;
1, 0, 0, 0;];
M11 = (1/R1 +1i*w*C1)*I;
M12 = -(1/R1*I+1i*w*C1*IC1);
M21 = (1/R1*I+1i*w*C1*IC2);
M22 = -(1/R1 +1i*w*C1)*I;
A12 = inv(M12);
A11 = -A12*M11;
A21 = M21-M22*A11;
A22 = M22*A12;
A = [A11,A12;A21,A22];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tt56039/APFDesign.git
git@gitee.com:tt56039/APFDesign.git
tt56039
APFDesign
APFDesign
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385