Solving equations using solve() function
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
AAKASH R AAKASH R
am 5 Okt. 2017
Kommentiert: AAKASH R AAKASH R
am 5 Okt. 2017
The code below gives an empty Ans although it is clear that the solution is 0,0,0,0.
syms a b c d
res = solve(a+b,a+b+c,a+b+c+d,a)
Hence why do we get an empty answer?
0 Kommentare
Akzeptierte Antwort
Torsten
am 5 Okt. 2017
sol = solve([a+b==0,a+b+c==0,a+b+c+d==0,a==0],[a b c d]);
sol.a
sol.b
sol.c
sol.d
Best wishes
Torsten.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus 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!