Why does polyfit not exist in r2019b?

1 次查看(过去 30 天)
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!

采纳的回答

Adam Danz
Adam Danz 2019-12-10
编辑:Adam Danz 2019-12-10
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by