Hello, I am using the version Matlab 2019a and aparently there is a bug using the polyder function. Even when I am trying to run the same calculations as in the example provided online, I get the following message:
>> p = [3 0 -2 0 1 5];
>> q = polyder(p)
Error using conv (line 10)
Dimensions have to be equal or larger than dimensions of the kernel!
Error in polyder (line 24)
a1 = conv(up,v); a2 = conv(u,vp);

 Respuesta aceptada

Steven Lord
Steven Lord el 27 de Jun. de 2019

1 voto

You've likely written or downloaded a conv.m that's taking precedence over the conv function included in MATLAB. Line 10 of the conv function included in MATLAB is roughly in the middle of the help text, not an executable instruction.
To check this, run:
which -all conv
If there are any conv.m functions that are outside the matlabroot directory, rename or remove them.

1 comentario

Georgia Roussou
Georgia Roussou el 27 de Jun. de 2019
Thank you very much. There is one more conv.m, as a part of a different script.

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Etiquetas

Preguntada:

el 27 de Jun. de 2019

Comentada:

el 27 de Jun. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by