How to use Arrayfun passing a random function as its arguments?
Show older comments
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 Comments
André Novaes
on 14 Jun 2018
Accepted Answer
More Answers (0)
Categories
Find more on Blocked Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!