MATLAB Answers

How can i find unknown variable in matrix

43 views (last 30 days)

Accepted Answer

Walter Roberson
Walter Roberson on 3 Mar 2021
syms D [2 1]
syms AE
sols = solve([0; -2] == AE * [0.405 0.096; 0.096 0.128] * D + [0; 0],D)
sols = struct with fields:
D1: [1×1 sym] D2: [1×1 sym]
simplify([sols.D1; sols.D2])
ans = 
There are other ways that do not require using the symbolic toolbox, if you use the \ operator.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!