hey hey! mechanical engineering student who is VERY confused andhas absolutely no idea what any of this means but really wants toknow. could you please help me! this is the question. givenM=4,5,7,10 and N=12.
Question 1: Explain how fundamental period ofdiscrete-time sinusoidal signal can be calculated and calculatefundamental period for four cases in exercise
**100% RATING WILL BE GIVEN IF CLEAR, CORRECT ANSWERSFOR EACH FOUR CASES OF M ARE GIVEN
this is my matlab code for the M =5 value.
N=12;
n=0:1:N-1; %n is defined with step 1
M=5;
x=sin(2*pi*M.*n./N);%defines dependant variable x[n]
[~,T0]= rat(M/N) %using rational approximation the fundamentalperiod is calculated.
%nosemicolon means matlab will display result.
stem(n,x) %using stem the discrete signal is drawn
xlabel ('n');
ylabel('y[n]');
title ('discrete sinusoidal signal example');