Why does polyfit not exist in r2019b?

2 visualizaciones (últimos 30 días)
Carsten Frauenheim
Carsten Frauenheim el 10 de Dic. de 2019
Editada: Adam Danz el 10 de Dic. de 2019
I cannot seem to get polyfit to work - and it seems like my copy doesn't even think it exists:
>> help polyfit
polyfit is a variable of type double.
>> doc polyfit
polyfit is a variable of type double.
Any help would be appreciated!

Respuesta aceptada

Adam Danz
Adam Danz el 10 de Dic. de 2019
Editada: Adam Danz el 10 de Dic. de 2019
You have a variable with the same name so Matlab no longer has access to the function until you delete the variable. clear('polyfit')
Rename the variable and the problem is solved.

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by