Error using plot, data must be numeric, array convertible to double
Why is it giving error for the last line to plot? Error using plot: data must be numeric datetime duration or an array convert...
9 days ago | 1 answer | 0
Error using solve function
solve function for code Gives the error: unable to find explicit solution. x1 = input('Input volume of tank in gal...
10 days ago | 1 answer | 0
2nd 3rd derivatives
trying to plot first 3 derrivatives for the following function: y = exp(-3.*x) x = [-2:0.01:1]; y = exp(-3.*x); dy=diff(y)....
2 months ago | 2 answers | 0
undefined function 'piecewise' for input arguments of type 'double'.
Trying to run this piecewise function: x = [-5:0.1:5]; y = piecewise(x <= 1, ((-2.*(x.^2))+9.*x-7), double(x) > 1, ((10.*sqrt(...
2 months ago | 1 answer | 0