2016b installtion problem

Answers (2)

Steven Lord
Steven Lord on 22 Nov 2020
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 on 31 Oct 2022
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 Comment

How does this answer the question that was asked?

Sign in to comment.

Categories

Products

Release

R2016b

Asked:

on 22 Nov 2020

Commented:

on 31 Oct 2022

Community Treasure Hunt

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

Start Hunting!