Hello Amer,
I think that you are trying to draw the sin and pdf function in MATLAB. Please refer to the following code for drawing a sin function between 0 and 1:
t = 0:0.01:1;
Y = sin(2*pi*t);
plot(t , Y)
For pdf function, please refer to the doucmentation link: https://www.mathworks.com/help/stats/prob.normaldistribution.pdf.html