2016b installtion problem

Antworten (2)

Steven Lord
Steven Lord am 22 Nov. 2020

0 Stimmen

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
ashraaf am 31 Okt. 2022

0 Stimmen

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 Kommentar

Walter Roberson
Walter Roberson am 31 Okt. 2022
How does this answer the question that was asked?

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2016b

Gefragt:

am 22 Nov. 2020

Kommentiert:

am 31 Okt. 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by