Using MATLAB command can anyone solve this questio
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
For a linear system A²x=b is such that A is non singualr with A=2x2 matrix and b=2X1 find the solution
0 Commenti
Risposte (3)
Chunru
il 5 Dic 2021
% Some random input
A = rand(2, 2)
b = rand(2,1)
% Solution
x = (A*A)\b
% To veryfy that: A*A*x = b
A*A*x
0 Commenti
Iqra Maqbool
il 5 Dic 2021
1 Commento
Chunru
il 5 Dic 2021
A = rand(2, 2);
Ainv = inv(A); % Ainv is given
b = rand(2,1);
% Solution
x = Ainv*Ainv*b
Walter Roberson
il 5 Dic 2021
syms A [2 2]
syms b [2 1]
syms x [2 1]
eqn = A^2 * x == b
solution = solve(eqn, x)
1 Commento
Walter Roberson
il 5 Dic 2021
syms A [2 2]
syms b [2 1]
syms x [2 1]
eqn = inv(A) * x == b
solution = solve(eqn, x)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!