Need help in pdf
2 views (last 30 days)
Show older comments
How can I raw the signal & pdf function?
sin (2pit) from 0 to 1, 1 from 1 to 4
0 Comments
Answers (1)
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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!