how to evaluate certain part in symbolic calculation?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vu
am 16 Okt. 2014
Kommentiert: Star Strider
am 16 Okt. 2014
I have a question with respects to a symbolic calculation Here is an example. If I define a,b,x,y as symbols and want to evaluate (a*x*y)/b at a=4,b=3. The mathlab answer was 4xy/3. Is it any way that I can get 1.3333xy instead. Here is my code
syms a b x y
L1=(a*x*y)/b;
subs(L1,{a,b},{4,3})
Thanks, Vu
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Conversion Between Symbolic and Numeric finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!