can I avoid for loop?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
can I avoid this two for loops here?:
f=zeros(size(L,2),20000,10000);
for t=1:10000
for ii=1:20000
f(:,ii,t) = normcdf(L',m(ii,t),s(ii,t));
end
end
where vector L and arrays m and s are defined?
thanks!
0 commentaires
Réponses (1)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!