91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-01-08
  • 語言: Matlab
  • 標簽:

資源簡介

節點電壓法的matlab代碼,希望能夠給電力專業的你們帶來幫助

資源截圖

代碼片段和文件信息

%This?Program‘s?function?is?to?compute?the?node-voltage?at?each?node?
%assuming?that?the?first?node?is?the?Ground?Node.As?the?graphic?theory?
%specificstwo?arrays?are?used?to?record?the?parameter?of?the?electrical?
%components?which?are?confined?to?be?the?following?three?types:?resistor??
%capacitor?inductance?and?independent?voltage?source.?
%And?its?outcome?is?the?voltage?values?at?every?node?except?the?Ground?node(node1).???
N=4;?%the?number?of?the?nodes?
N=input(‘numbers?of?nodes:?‘);?
U=zeros(NN);%This?array?is?used?to?store?the?information?of?voltage?difference%?
R=ones(NN);%This?array?is?used?to?store?the?information?of?impetance%?
for?a=1:N??%to?initial?the?resistance?between?any?nodes?to?be?infinite?namely?oc.??
????for?b=1:N????????
????????R(ab)=realmax;?????

評論

共有 條評論

相關資源