Question: How do I convert from symbolic variables using double(cr) in matlab, because it gives me the error shown in the photo. Thankyou 1 2- 3
How do I convert from symbolic variables using double(cr) in matlab, because it gives me the error shown in the photo. Thankyou
1 2- 3 - 4- 5 - 6- E function [ cr ] = CritPt (f, vari, var2) f = evalin (symengine, f); varl = sym (varl); var2 = sym (var2); fx = diff(f, varl); fy = diff(f, var2); [xcr, yer] = solve (fx,fy); cr = double (xcr, ycr); A = (xcr] B [yer] C = [A, B] 7- 8 - 9- 10 11- 12 Command Window >> >> >> Critpt('s^3+2*t^2-2*s*t', 's', 't') Error using sym/double Too many input arguments. Error in Critpt (line 8) cr = double(xcr, ycr)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
