Question: How do I convert sym to string in matlab? This is my code so far: syms x z = inputdlg(({'Function 1','Function 2','Function 3'}),'Calculus Program',[1 16;
How do I convert sym to string in matlab? This is my code so far: syms x z = inputdlg(({'Function 1','Function 2','Function 3'}),'Calculus Program',[1 16; 1 32; 1 64]) a1 = sym(z{1}) b1 = sym(z{2}) c1 = sym(z{3}) a2 = diff(a,1) b2 = diff(b,2) c2 = int(c,x)
So the code is taking the derivative of z(1) and second derivative of z(2) then integrating with respect to x for z(3) Now I get the answers but I want to convert them into string so I can use the pretty function on them and then send them to a GUI edit text box I will make in the future. Apparently sym2str used to be a command in matlab but no longer exists.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
