photo

Harin Nelumdeniya


Active since 2018

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
166,005
of 300,765

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,084

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,941

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

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Creating a matrix with for loop
I need to create a matrix that increases or decreases in size with the change in variable n. The matrix should be having only on...

7 years ago | 1 answer | 0

1

answer

Question


How can i change the 1st row 1st column and last row last column values in a tridiagonal matrix
n=5; A=zeros(n,n); for i=1:n if (i>1) A(i-1,i)=-100; end A(i,i)=300; if (i<n) A(i+1,...

7 years ago | 2 answers | 0

2

answers