(adsbygoogle = window.adsbygoogle || []).push({}); error on mathlab, and I have no idea how to correct it, please help me out :(

Hello guys, I was using a class assignment using matlab, and the code is provided by the professor. All we need to do is use plug the function in and run it. But for some reason, I got this error:

??? Error using ==> mpower

Inputs must be a scalar and a square matrix.

Error in ==> @(x)(e^(cos(x))+8*x^2-3-x-4)^(1/5)

Error in ==> fpi at 5

x(i+1)=g(x(i));

I dont see a problem in that, can someone point it out for me?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Error on mathlab, and I have no idea how to correct it, please help me out

Loading...

Similar Threads for Error mathlab idea |
---|

Mathematica Errors when plotting but not when evaluating |

Excel Error Bars |

Using Maxima to plot error in Fourier series |

MATLAB Weighting data points with fitted curve in Matlab |

**Physics Forums | Science Articles, Homework Help, Discussion**