how to vectorize this code?
Afficher commentaires plus anciens
while b < (length(data))
ECG(i,:) = data(f:b);
f = f+477;
b=b+477;
i= i+1;
end
2 commentaires
Birdman
le 11 Jan 2018
What do you try to do? Is this the entire code?
Parsa Paiman
le 11 Jan 2018
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 11 Jan 2018
Perhaps
ECG = reshape(data, 477, :).';
1 commentaire
Parsa Paiman
le 11 Jan 2018
Catégories
En savoir plus sur ECG / EKG dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!