Why do i get this error whenever i try to create a "sym"? "The second argument must be positive clear or real"
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
new user 00
am 12 Jun. 2018
Kommentiert: new user 00
am 12 Jun. 2018
sym qb h3; eqn = (da-db)/(da-db0) == (((qa-qb)*a3*h3/qb+vb0)/vb0)^(qa/(qa-qb)); solve(eqn,qb); In the eqn, except qb, all the numerical values were given.
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 12 Jun. 2018
You meant to use the syms function, not the sym function, to define your symbolic variables. The extra s is important.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!