From: Jelena Radlovi? on
I have editbox, and user input in that editbox any function. I tried to solve period using syms x, syms p, f1=eval(get(EditBox,''String''));x=x+p;f2=eval(get(EditBox,''String''));A=solve(f1,f2).
And everything is fine unless when for example function is 1./(x.^2) the Matlab shows me Warning: Explicit solution could not be found. I know there is no solution, because it's not periodic function, but I want to when there is no solution to display message in GUI. How can I do that?