This question is closed. Reopen it to edit or answer.
Subscripted assignment dimension mismatch.
1 view (last 30 days)
Caglar on 4 Nov 2018
First of all, f(x) is wrong.
f(x)=[1-a*((x1)^2)*(k) ; 0 ;0 ];
x is empty, how can it be an indice? And then, your calculation (right hand side) yields 2-d data. Left side must comply.
f(x,:)=[1-a*((x1)^2)*(k) ; 0 ;0 ];