How to write variable to symbolic ?
Ältere Kommentare anzeigen
A = 10; B = 15; C = 18;
lcm_ABC = lcm(sym([A, B, C]));
lcm_ABC = double(lcm_ABC);
ABC_N = lcm_ABC/A + lcm_ABC/B + lcm_ABC/C;
ABC_N = 20;
lcm_ABC = 90;
%i want to write it(ABC_N/lcm_ABC) as (20/90) or if may possible to write using formula (2/9)
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Assumptions finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!