ans =
How to simplify one expression without Negative(-) mark
Mostrar comentarios más antiguos
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)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
