作者:Ag冫g彡ie琪琪 | 来源:互联网 | 2023-05-17 10:45
Imtryingtodefinegfunctioninmatlabandshouldbelikethisg(x)x+f(x);我试着在matlab中定义g函数,
I'm trying to define g function in matlab and should be like this g(x) = x + f(x);
我试着在matlab中定义g函数,应该像g(x) = x + f(x)
- x is a number
- x是一个数字
- f is an inline function
- f是内联函数。
None of the following works:
以下作品均无:
g = x + f(x)
g = inline(x+f);
g = inline(sum(x,f));
1 个解决方案