Heart BPM Normalization - Matlab
<p>I have two .wav files containing recordings of two different hearts so with different heart rates. I would like to normalize both signals in order to fix their BPM at 60 without modifying anything else.</p>

<p>This is how a signal is read (same thing for the other but with 2) and what it looks like (and it's FFT) :</p>

<pre><code>[y1,fs1] = audioread(heartbeat1);
    N1 = length(y1);
    t1 = linspace(0, N1/fs1, N1);
</code></pre>

<p><a href="https://i.stack.imgur.com/QOmP8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QOmP8.png" alt="enter image description here"></a>
I made some research and found <code>interp1</code> but it doesn't seem appropriate for my program. I really have no idea of how I could do that, so if you can just give a function that I could use it could be great.</p>