2016b installtion problem
이전 댓글 표시
답변 (2개)
Steven Lord
2020년 11월 22일
0 개 추천
What happened when you tried pressing Yes?
If that still did not work, you may want to try restarting the installer in case that file was not downloaded correctly.
If that too does not work, send the mathworks_seif.log file to Technical Support using the Contact Support link on the Support section of this website and ask the Support staff to help you install MATLAB.
ashraaf
2022년 10월 31일
0 개 추천
clc;
clear all;
nb=input('Enter the number of buses');
Zbusm=null(nb,nb);
ele=input('Enter the number of elements:');
dim=0;
for i=1:ele
disp(' ');
disp('1.Addition of Branch 2.Addition of Link');
ch=input('Enter your choice:');
p=input('enter p value');
q=input('enter q value');
val=input('Enter value to be added;');
switch(ch)
case 1
dim=dim+1;
if p==0||q==0
for row=1:dim
for col=1:dim
Zbusm(dim,dim)=val;
Zbusm(dim+1:end,dim+1:end)=0;
end;
end;
else
for i=1:dim
Zbusm(q,i)=Zbusm(p,i);
Zbusm(i,q)=Zbusm(q,i);
end;
Zbusm(q,q)=Zbusm(p,q)+val;
end;
%end;
case 2
Zbusrm=null(dim,dim);
li=dim+1;
if p==0
for i=1:li
Zbusm(li,i)=-Zbusm(q,i);
Zbusm(i,li)=Zbusm(li,i);
end;
%end
Zbusm(li,li)=-Zbusm(q,li)+val;
else
for i=1:li
Zbusm(li,i)=Zbusm(p,i)-Zbusm(q,i);
Zbusm(i,li)=Zbusm(li,i);
end;
Zbusm(li,li)=Zbusm(p,li)-Zbusm(q,li)+val
for i=1:dim
for j=1:dim
Zbusrm(i,j)=Zbusm(i,j)-(((Zbusm(i,li))*Zbusm(li,j))/Zbusm(li,li));
end;
end;
disp(Zbusrm);
Zbusm=Zbusrm
end;
end;
end
댓글 수: 1
Walter Roberson
2022년 10월 31일
How does this answer the question that was asked?
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
