MATLAB Answers

Undefined function or variable 'para'.

1 view (last 30 days)
Kedibonye Molefe
Kedibonye Molefe on 23 Mar 2021
Answered: Jon on 23 Mar 2021
beta1(i)=para(i,1);
  1 Comment
DGM
DGM on 23 Mar 2021
Yep. Looks undefined to me.
Did you have a question to ask, or any context to provide?

Sign in to comment.

Answers (1)

Jon
Jon on 23 Mar 2021
This error message means that you are trying to assign the variable beta1(i) to a variable para(i,1) that you have not defined yet. In other words the variable para must be on the left hand side of an equal sign before it is on the right hand side.

Community Treasure Hunt

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

Start Hunting!