How to use Arrayfun passing a random function as its arguments?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Blocked Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!