photo

tbaracu


Politehnica/UTCB

Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Explorer
  • First Review

View badges

Feeds

View by

Answered
Create FOR loop to insert the matrix elements row-wise
It should be something like Matlab after reading 1 5 7 9 initially considers the row matrix [ 1 5 7 9] then split it in two row...

4 years ago | 0

Question


Create FOR loop to insert the matrix elements row-wise
I want to create a matrix in an equivalent way as it is possible in C++: just to insert the elements one after the other with ...

4 years ago | 3 answers | 0

3

answers

Question


Jacobi method - I obtain the final solution, but the printed intermediary errors are wrong (zeros) ! Some intermediary steps of calculation are wrong or decayed.
% Jacobi method for systems of equations clc; close all; clear all n=4; % INPUT A=[6 2 1 2 ; 2 5 -1 1 ; 1 -1 5 -...

4 years ago | 0 answers | 0

0

answers