sin(2*pi*F*n) Code please..

조회 수: 2 (최근 30일)
SEONGCHEON JEON
SEONGCHEON JEON 2020년 3월 25일
댓글: Walter Roberson 2020년 3월 25일
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
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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by