photo

Faisal Nawab


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
172,627
of 300,988

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,130

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 172,218

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


the diagonal elements of matrix should be the sum of all that row elements. I write this code but it adds all the elements inserted before that diagonal elements
clear; clc; clear; disp('========ybus matrix=====') x=input('number of nodes:'); y=0; for i=1:1:x for j=1:1:x ...

5 years ago | 1 answer | 0

1

answer

Question


Comand window answer is wrong while the values in variable are ok. the x values in comand window is repeated and not in sequence
clear; clc; xmin=-0.9;dx=.1; fprintf('x ex\n') fprintf('===============\n') for i=1:19 x(i)=xmin+(i-1)*dx; ...

5 years ago | 1 answer | 0

1

answer