Rosetta Stone of data interpolation Are you a Matlab/Octave lover? Are you playing with R?
#scientist vs. #DataScientist#scientists vs. #DataScientist#R #octave pic.twitter.com/tggVOJMt5v
— Enrico Brambilla (@SingingSword) January 7, 2019 Ok, let’s play. In this post we’ll use Octave (or Matlab) syntax first.
Once a logical step is implemented, we’ll do the same in R.
Data generation Data generation for this exercise is simply the sine function. In Octave: >> x=linspace(0, 99, 100)*2*pi/100; >> y=sin(x); >> whos Variables in the current scope: