I'm trying to run this code
syms x m
eq3 = m-['(heaviside(x)-heaviside(x-1))*x^3/6 '];
%...
% '(heaviside(x-1)-heaviside(x-2))*(1/6)*(-3*x) + ' ...
% '(heaviside(x-2)-heaviside(x-3))*(1/6)*(3*x^3-24*x^1) + ' ...
% '(heaviside(x-3)-heaviside(x-4))*(1/6)*(4-x)^3'];
eq2=-x+(.6/.0360)*m;
sol = solve(eq3,eq2);
But I keep getting this error
Function 'lt' is not implemented for MuPAD symbolic objects.
I searched and found that I needed to make x a double, so I tried that but instead i get this error when I put in the line x=double(x)
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);
If I use VPA, and put the line x=vpa(x) I get the following error
Function 'lt' is not implemented for MuPAD symbolic objects.
Error in ==> sym.sym>sym.lt at 803 notimplemented('lt');
Please advise, thanks!