sin(2*pi*F*n) Code please..
조회 수: 2 (최근 30일)
이전 댓글 표시
Q. Plot the following four discrete signals using Matlab.
num1. x[n]=sin(2*pi*F*n) -> Z include n , Z is integer
-> F= 1/16 , F= 2/16 , F= 11/16, F= pi/16
nub2. x[n]=cos(2*pi*F*n) -> Z include n , Z is integer
-> F= 1/5 , F= 6/5
Code please..
댓글 수: 1
Walter Roberson
2020년 3월 25일
Hint: make n a column and F a row and use .* instead of * . When you plot() the results you will get one line per column and you will have lenth(F) of those
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!