Calling a function f inside f,how can we do this
显示 更早的评论
采纳的回答
更多回答(1 个)
Babak
2013-4-22
0 个投票
Just as a side issue: You better change the name of the function from a one letter name "f" to at least a 2 letter name. I remember I was trying to compute function of a function and MATLAB has issues (bugs) in calculating the result..(not sure if it's already fixed or not)... but things like sin(f(2)) or g(f(x)) may fail for a generic f function even if f is correctly defined.
This has nothing to do with the "recursion" Walter is talking about.
2 个评论
Raviteja Panamgipalli
2013-4-23
Walter Roberson
2013-4-23
I have not heard of any issue with single-letter names. Do you have the bug report number, or a link to where you have posted about this before?
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!