I have not been able to write a Matlab code for the Bates model without errors. Could someone share theirs please?

  • 1
    $\begingroup$ Don't give up! Fix the problems in your code until it works! $\endgroup$ – Alex C Jun 4 '16 at 19:14
  • $\begingroup$ At least, don't expect others to give you the code. $\endgroup$ – Bob Jansen Jun 4 '16 at 21:46
  • $\begingroup$ I'm voting to close this question as off-topic because code requests are not appreciated. $\endgroup$ – Bob Jansen Jun 4 '16 at 21:47