开发者

how can i write f(first,y) in matlab?

can you please help me?, i can't explain my question clearly, I define x & y ,i can write plot(f(end,y)) ,but I want to know that how can i must type this cod开发者_高级运维e for f(first,y)?thank you!


"f(first,y)" is f(1,y)


Is f() a function? If so, are you wanting to pass the first element of y to f()? You can do this with f(y(1)).

Perhaps the MATLAB documentation on Matrix Indexing would help you?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜