ekrem
2011-05-29 09:18:02 UTC
Hello everyone,
I am trying to evaluate the numerical value of r. It gives the following error.How can I convert r to a double variable?
r = int('a*sin(b*x)')
r =
-(a*cos(b*x))/b
3
4
7
Error in MuPAD command: DOUBLE cannot convert the input expression into a double array.
If the input expression contains a symbolic variable, use the VPA function instead.
Error in ==> sym.sym>sym.double at 927
Xstr = mupadmex('mllib::double', S.s, 0);
I am trying to evaluate the numerical value of r. It gives the following error.How can I convert r to a double variable?
r = int('a*sin(b*x)')
r =
-(a*cos(b*x))/b
a=3
a =3
b=4
b =4
x=7
x =7
double(r)
??? Error using ==> mupadmexError in MuPAD command: DOUBLE cannot convert the input expression into a double array.
If the input expression contains a symbolic variable, use the VPA function instead.
Error in ==> sym.sym>sym.double at 927
Xstr = mupadmex('mllib::double', S.s, 0);