Hi everyone,
I don't understand this error that I am getting when I just use the plot(x,y) command on matlab
M =
2.0000 -1.5000 0 1.5000
2.0000 -3.0000 7.5000 -3.5000
EDU>> x = @(t) M(1,1) + M(1,2)*t + M(1,3)*t^2 + M(1,4)*t^3;
EDU>> y = @(t) M(2,1) + M(2,2)*t + M(2,3)*t^2 + M(2,4)*t^3;
EDU>> plot(x,y)
??? Error using ==> plot
Conversion to double from function_handle is not possible.
Can anyone help me please???!
I don't understand this error that I am getting when I just use the plot(x,y) command on matlab
M =
2.0000 -1.5000 0 1.5000
2.0000 -3.0000 7.5000 -3.5000
EDU>> x = @(t) M(1,1) + M(1,2)*t + M(1,3)*t^2 + M(1,4)*t^3;
EDU>> y = @(t) M(2,1) + M(2,2)*t + M(2,3)*t^2 + M(2,4)*t^3;
EDU>> plot(x,y)
??? Error using ==> plot
Conversion to double from function_handle is not possible.
Can anyone help me please???!