Answered step by step
Verified Expert Solution
Question
1 Approved Answer
X((n m))N, given an N1-point sequence x(n) where Ny S N. Your function should have the following format function y cirshftf(x,m,N) % Circular shift of
X((n m))N, given an N1-point sequence x(n) where Ny S N. Your function should have the following format function y cirshftf(x,m,N) % Circular shift of m samples wrt size N in sequence x: (freq domain) y: output sequence containing the circular shift x input sequence of lengthN m sample shift N : size of circular buffer Method: y(n) - idft(dft (x (n))*WN" (mk)) If mis a scalar then y is a sequence (row vector) If m is a vector then y is a matrix, each row is a circular shift in x corresponding to entries in vecor m % M and x should not be matrices Verify your function on the following sequence (n) 5,4,3,2, 1,0, 0,1,2,3,4), 0SnS 10 with (a) m =-5, N= 12 and (b) m = 8, N-15. X((n m))N, given an N1-point sequence x(n) where Ny S N. Your function should have the following format function y cirshftf(x,m,N) % Circular shift of m samples wrt size N in sequence x: (freq domain) y: output sequence containing the circular shift x input sequence of lengthN m sample shift N : size of circular buffer Method: y(n) - idft(dft (x (n))*WN" (mk)) If mis a scalar then y is a sequence (row vector) If m is a vector then y is a matrix, each row is a circular shift in x corresponding to entries in vecor m % M and x should not be matrices Verify your function on the following sequence (n) 5,4,3,2, 1,0, 0,1,2,3,4), 0SnS 10 with (a) m =-5, N= 12 and (b) m = 8, N-15
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started