solve returns Empty sym: 0-by-1 answer
99 views (last 30 days)
Show older comments
José Miguel Rivera Navarrete on 16 Nov 2021
Answered: Pavan Guntha on 19 Nov 2021
the code returns
Empty sym: 0-by-1
Pavan Guntha on 19 Nov 2021
The solve function returns an empty object if there isn't any solution to the equation. For instance if the equation is changed as shown below,
E2 = 730 == To+(Tcz-To)*(1-exp((h*h*a*90)/(k*k))*(1-erf((h/k)*(sqrt(a*90)))))
It returns the following solution:
For more information, you could look at the documentation page of solve.
Hope it helps!
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!