Info
This question is closed. Reopen it to edit or answer.
Conversion to double from sym is not possible.
1 view (last 30 days)
Show older comments
I keep receiving the "Conversion to double from sym is not possible." error. It worked and plotted then I worked on another script and attempted to come back to this script and it now gives me this error.
0 Comments
Answers (1)
Star Strider
on 31 May 2014
What line threw the error?
I ran it without the function definition and it ran without error.
It yielded:
y =
0 10 20 30 40 50 60 70 80 90 100
Pcrit =
[ 4500, 4500, 4500, 3150, 3900, 4650, 5400, 6150, 6900, 7650, 8400]
and the plot.
The function creates its own workspace and it has no arguments or global variables. Without knowing more about what you were doing or what threw the error, I have no idea why it wouldn’t run for you after it successfully ran before.
3 Comments
Star Strider
on 4 Jun 2014
I have no idea. I can’t reproduce the error. Your code runs without error repeatedly, plot and all.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!