How to apply function with arguments to every cell in cell array
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have a function called dfaedit which I want to run over each individual cell in a cell array called baskets_xyz_h_ref.
However, I am unsure how to apply a function to each cell if the function has multiple arguments..
How would I do this?
Thank you!
0 Commenti
Risposta accettata
David Hill
il 28 Feb 2022
for k=1:length(baskets_xyz_h_ref)
H(k)=dfaedit(baskets_xyz_h_ref{k},1,1,1);
end
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Types 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!