How to properly write model function?

I want this to be my model function:
and I have this:
(I have no idea what the periods (.) are for so I just through them in where ever)
Help please :(

 Respuesta aceptada

John D'Errico
John D'Errico el 28 de Ag. de 2016
READ the error message. What is the little pointer pointing at?
Does this expression represent the product of p(3) and x?
p(3)x
Or is that just invalid syntax?
If you have no idea how to write a MATLAB expression, then you need to start at the beginning. Read some of the getting started tutorials. You might also learn what the . does for those operators.

1 comentario

Megan Mizinski
Megan Mizinski el 28 de Ag. de 2016
This is my last project ever using matlab so i'm not going to bother learning.
thanks for helping me see the error.

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Preguntada:

el 28 de Ag. de 2016

Comentada:

el 28 de Ag. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by