How to solve this simple matricial system?

3 views (last 30 days)
Elia Paini
Elia Paini on 19 Jun 2021
Commented: Elia Paini on 20 Jun 2021
Hi, how can I solve this simple system in Matlab?
A*u = h*G
A: 4x4
u: unknowns vector, but it should be 4x1
h: scalar
G: vector, Nx1
I tried with u = h*G*inv(Au), but u is calculated as a matrix in this way.
Thank you!

Accepted Answer

Matt J
Matt J on 20 Jun 2021

More Answers (1)

Jonas on 19 Jun 2021
Edited: Jonas on 19 Jun 2021
you have to left multiply the matrix not right multiply
leading to
with I being the identy matrix

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by