How to bring signals of uneven sizes to the same size?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have 3 signals, size(x)=15001 size(y)=7500 size(z)=3751
and how to bring the sizes of all these three signals to 15000?
1 Commento
Azzi Abdelmalek
il 21 Apr 2013
Modificato: Azzi Abdelmalek
il 21 Apr 2013
By adding or removing what?
Risposta accettata
Più risposte (1)
Walter Roberson
il 21 Apr 2013
newx = interp1(linspace(0,1,length(x)), x, linspace(0,1,15000));
newy = interp1(linspace(0,1,length(y)), y, linspace(0,1,15000));
newz = interp1(linspace(0,1,length(z)), z, linspace(0,1,15000));
Vedere anche
Categorie
Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!