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?
精彩评论