find the unkowns in a matrix

1 view (last 30 days)
jad bousaid
jad bousaid on 28 Sep 2020
Commented: jad bousaid on 28 Sep 2020
B =
1.0e+06 *
0.6064 -0.4550 0.0776 -0.6532 0.4550 0.0126
-0.4550 1.6724 0.0180 0.4550 -0.3209 0.0180
0.0776 0.0180 0.3626 -0.0126 -0.0180 0.0569
-0.6532 0.4550 -0.0126 1.0029 -0.4550 0.5070
0.4550 -0.3209 -0.0180 -0.4550 4.4121 -0.0180
0.0126 0.0180 0.0569 0.5070 -0.0180 0.9314
D1 =
a
b
c
d
e
f
how can i find the unkowns a b c d e f if [B]*[D1]==0
please give me all the details because i'm new to MATLAB and i'm still learning it
And thank you in advanced.

Accepted Answer

madhan ravi
madhan ravi on 28 Sep 2020
B \ zeros(6, 1)
  2 Comments
madhan ravi
madhan ravi on 28 Sep 2020
% Using symbolic math toolbox
D1 = str2sym(num2cell('a':'f')).'
[a, b, c, d, e, f] = solve(B*D1==0, D1)
jad bousaid
jad bousaid on 28 Sep 2020
I'm verry sorry but one more question,
if we replace the a with 1 what will be the answers?
and if did not work is there any chance to try to solve this systeme without getting zeros
Thank you very much for your help.

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!