How to simplify one expression without Negative(-) mark
How to simplify the belowing expression B without the – mark?
I thought the result should be :
but, the result always show the MINUS sign mark.
clc;clear;
syms Z_1 Z_2 Z_3 Z_4 I_1
% (a) V_1
V_1 = I_1 * (Z_1*Z_2/(Z_1+Z_2) + Z_3*Z_4/(Z_3+Z_4));
% (b) I_Z1
I_Z1 = Z_2/(Z_1+Z_2)*I_1;
% (c) I_Z3
I_Z3 = Z_4/(Z_3+Z_4)*I_1;
% (d) I_2
I_2 = I_Z1 – I_Z3;
% (e) B
B = V_1/I_2;
% (f) D
D = I_1/I_2;
simplify(B)How to simplify the belowing expression B without the – mark?
I thought the result should be :
but, the result always show the MINUS sign mark.
clc;clear;
syms Z_1 Z_2 Z_3 Z_4 I_1
% (a) V_1
V_1 = I_1 * (Z_1*Z_2/(Z_1+Z_2) + Z_3*Z_4/(Z_3+Z_4));
% (b) I_Z1
I_Z1 = Z_2/(Z_1+Z_2)*I_1;
% (c) I_Z3
I_Z3 = Z_4/(Z_3+Z_4)*I_1;
% (d) I_2
I_2 = I_Z1 – I_Z3;
% (e) B
B = V_1/I_2;
% (f) D
D = I_1/I_2;
simplify(B) How to simplify the belowing expression B without the – mark?
I thought the result should be :
but, the result always show the MINUS sign mark.
clc;clear;
syms Z_1 Z_2 Z_3 Z_4 I_1
% (a) V_1
V_1 = I_1 * (Z_1*Z_2/(Z_1+Z_2) + Z_3*Z_4/(Z_3+Z_4));
% (b) I_Z1
I_Z1 = Z_2/(Z_1+Z_2)*I_1;
% (c) I_Z3
I_Z3 = Z_4/(Z_3+Z_4)*I_1;
% (d) I_2
I_2 = I_Z1 – I_Z3;
% (e) B
B = V_1/I_2;
% (f) D
D = I_1/I_2;
simplify(B) symbolic MATLAB Answers — New Questions