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

3 visualizaciones (últimos 30 días)
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? .

Respuestas (1)

Star Strider
Star Strider el 21 de Nov. de 2021
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.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by