1. Very Basics
This section shows you how to use Matlab and R. The examples in text will be based on Matlab, though the equivalent code for R are found at the end of sections.
It doesn’t matter whether you use R or Matlab for modelling; the logic you use in coding is the same and there are…