Feb 16, 2013 #1 S suryakiran Newbie level 1 Joined Feb 15, 2013 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,285 I am new to mat lab i had the signal and have to write the code for it and i want peak values in a diagram please help me...
I am new to mat lab i had the signal and have to write the code for it and i want peak values in a diagram please help me...
Feb 25, 2013 #2 M MikuIyer Newbie level 4 Joined Jan 25, 2013 Messages 6 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,308 Hi, Set the range for 'n' (as we are in discrete time domain), say n = [0:100] Compute values for the given signal x[n] in the above taken range. For spectral analysis, compute fft using fft(signal, N) and plot the abs value to get magnitude spectrum. Let me know if you need the code.
Hi, Set the range for 'n' (as we are in discrete time domain), say n = [0:100] Compute values for the given signal x[n] in the above taken range. For spectral analysis, compute fft using fft(signal, N) and plot the abs value to get magnitude spectrum. Let me know if you need the code.