Can someone help me, how can I remove matrix dimension issue. The error is ''Undefined function or variable y''.
I want to use y data which is a vector (line-146) and is obtained/calculated in line-134.
y is not declared and I want to create it in the main code while calling and receiving the function.
I would be thank ful if anyone can edit the attached code.