Statistics
1 Question
0 Answers
RANK
258,567
of 301,433
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 21,272
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,520
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
Question
I am writing this program to solve a system of tri diagonal equations, and whenever i run the code it says index exceeds matrix dimensions. I don't know what I am doing wrong, any help will be greatly appreciated. The error is in line 35.
% Code to solve a tridiagonal system of equations % n = input('Enter the size of the matrix'); A = rand(n,n); disp ('...
8 years ago | 2 answers | 0