フィルターのクリア

Derive values of alphabet

1 回表示 (過去 30 日間)
whiyan
whiyan 2021 年 10 月 28 日
編集済み: DGM 2021 年 10 月 28 日
Need to save the below alphabet values, How could I build the matlab code?
a=0.25
a+b+e=0
7a+6b+c+5e+f=0
19a+13b+5c+d+9e+3f=0
25a+12b+8c+4d+7e+3f=0
16a+4b+4c+4d+2e+f=0

採用された回答

DGM
DGM 2021 年 10 月 28 日
編集済み: DGM 2021 年 10 月 28 日
For a numerical approach:
% coefficient matrix
A = [1 0 0 0 0 0;
1 1 0 0 1 0;
7 6 1 0 5 1;
19 13 5 1 9 3;
25 12 8 4 7 3;
16 4 4 4 2 1];
% sums
b = [0.25 0 0 0 0 0].';
% solve for variables
x = A\b
x = 6×1
0.2500 -2.0000 1.0000 -1.0000 1.7500 0.5000

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by