# Matlab code that shifts a given signal by 12.5 ms (to get 80 Hz res...

## Question

Matlab code that shifts a given signal by 12.5 ms (to get 80 Hz response) and takes the last segment (12.5 ms) and put it in the gap that is made by the shift.
Then shifts the new signal by 12.5 ms (actually it is 25 ms because it is shifting for the shifted signal) and continue shifting until the signal ends (the given signal's window is about 215 ms) and finally average them all.

## Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice. Unethical use is strictly forbidden.

%12.5ms corresponds to 64 points in the signal (64*0.0002-0.0002=0.0126 = 12.5ms)
%so we will shift by 64 points each round.

%The number of shifts is the length of the signal divided by 64, so when we
% shift the signal number_of_shifts times it is back to the original signal and we don't shift anymore.
number_of_shifts = length(ABR)/64;

%We make an empty matrix to put in each row a shifted version of the previous row...

By purchasing this solution you'll be able to access the following files:
Solution.m.

\$4.50
for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

### Find A Tutor

View available MATLAB for Computer Science Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.