필터 지우기
필터 지우기

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 CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by