How to solve equation AX=B where A is symmetric like matrix ?
3 views (last 30 days)
Shubham Rawat on 3 Feb 2021
You may look use this code for your reference:
syms b1 b2 x1 x2
A = magic(4); %random 4*4 matrix
x = [x1;x2;4;5];
b = [6;7;b1;b2];
S = solve(A*x == b); %used solve to solve these equations
Hope this Helps!