Need help in pdf

1 view (last 30 days)
Amer Al-Maashani
Amer Al-Maashani on 23 Jan 2021
Answered: Utkarsh Belwal on 27 Jan 2021
How can I raw the signal & pdf function?
sin (2pit) from 0 to 1, 1 from 1 to 4

Answers (1)

Utkarsh Belwal
Utkarsh Belwal on 27 Jan 2021
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

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!