how to manipulate function hundles ?
显示 更早的评论
when trying to manipulate function hundles (@) by devision for example, I get the message "Undefined operator '/' for input arguments of type 'function_handle'."
1 个评论
Image Analyst
2016-5-5
The Crystal Ball Toolbox has not yet been released, so until then, you'll need to read this link before we can answer you.
回答(1 个)
Star Strider
2016-5-5
Don’t refer to the function handles, but to the functions themselves in your calculations:
f = @(x) x.^2;
g = @(y) sin(y);
t = 1:10;
q = f(t)./g(t);
类别
在 帮助中心 和 File Exchange 中查找有关 Antennas and Electromagnetic Propagation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!