According to the error message, your x is a handle of a figure. Then real() is not defined to convert it.
If you post the related code, we might be able to see, why you assume that x has a numerical value.
According to the error message, your x is a handle of a figure. Then real() is not defined to convert it.
If you post the related code, we might be able to see, why you assume that x has a numerical value.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!