How to use Arrayfun passing a random function as its arguments?
Mostra commenti meno recenti
Hello. I kindly ask your help to solve the question below.
I am trying this:
func="sin";
R1=arrayfun(@sin,x1);
So, the question:
How I use "sin" as parameter without directly defining it in arrayfun?
Thank you very much.
2 Commenti
André Novaes
il 14 Giu 2018
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Blocked Images 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!