first two inputs must have the same number of elements error(hw deadline soon)

2 次查看(过去 30 天)
when i used polyfit it gives error like The first two inputs must have the samenumber of elements error.I share my code please how can i fix? .

回答(1 个)

Star Strider
Star Strider 2021-11-21
Check the code to be certain that the first two input arguments are the same length.
If they are not, change the code so that they are.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by