Having problems with display function
Show older comments
Why can't I put the variable from a solve function into a display function? For example:
syms x
y=x+3
sol=solve(y==0)
disp("sol is" + sol)
There is an error with the display function and I don't know how to fix it. Also, what type of data is the outcome of the solve function?
Accepted Answer
More Answers (0)
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!