how to vectorize this code?
Mostra commenti meno recenti
while b < (length(data))
ECG(i,:) = data(f:b);
f = f+477;
b=b+477;
i= i+1;
end
2 Commenti
Birdman
il 11 Gen 2018
What do you try to do? Is this the entire code?
Parsa Paiman
il 11 Gen 2018
Risposta accettata
Più risposte (1)
Walter Roberson
il 11 Gen 2018
Perhaps
ECG = reshape(data, 477, :).';
1 Commento
Parsa Paiman
il 11 Gen 2018
Categorie
Scopri di più su ECG / EKG in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!