How do I plot a cosine sinusoidal function in MATLAB?
이전 댓글 표시
Please, I need a detailed step-by-step guideline on how to plot this sinusoidal function in MATLAB?
x(t) =10cos[2π(440)t-0.4π]
Thank you.
댓글 수: 3
John D'Errico
2015년 8월 21일
편집: John D'Errico
2015년 8월 21일
Um, what you want is for someone to do your homework.
What you truly need is to learn MATLAB. That you will do by reading the help, the tutorials, and by actually using the language.
This is a simple problem. So learn what a function handle does, and how to create one. Along the way, you may also need to learn MATLAB syntax, as what you have written is not valid syntax. Then learn to use ezplot.
help function_handle
help ezplot
Finally, you do need to consider the region you will plot that function over, as if you are not careful, a sine wave with that rather high frequency will look a bit boring on your plot.
Steven Lord
2015년 8월 21일
It's even simpler than you make it out to be, John. There's no need to bring function handles into this.
John D'Errico
2015년 8월 21일
Very true.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!