how to vectorize this code?
Ältere Kommentare anzeigen
while b < (length(data))
ECG(i,:) = data(f:b);
f = f+477;
b=b+477;
i= i+1;
end
2 Kommentare
Birdman
am 11 Jan. 2018
What do you try to do? Is this the entire code?
Parsa Paiman
am 11 Jan. 2018
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 11 Jan. 2018
Perhaps
ECG = reshape(data, 477, :).';
1 Kommentar
Parsa Paiman
am 11 Jan. 2018
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!