How to use Arrayfun passing a random function as its arguments?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Blocked Images en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!