I have to generate 100 samples of sinusoid in matlab with frequency 0.2Hz and sampling rate 2Hz. Until now i have pass into matlab the values:
>> t=[0:99];
>> f=0.2;
>> fs=2;
The sin-wave function is this:
$y(t)=A*sin(2pft+φ)$
Does the Amplitude has some connection with the sampling rate? For example Amplitude values start from 0 and with step of 0.2 did i need to take 100 samples? And how i could find φ in order to plot this signal?