![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/24323530_1634138413648_DEF.jpg)
Michael Ryan
Followers: 0 Following: 0
Feeds
提问
How to differentiate between an index and a value in a function?
The summary isn't great, so hopefully my explanation will make more sense. I have four inputs to a function. f = @(x)[0.5*(co...
3 years 前 | 2 个回答 | 0
2
个回答提问
Array indices must be positive integers or logical values.
Can't seem to figure out the reason for the error. The array indices, i, as far as I can tell are intergers between 1 and 1000....
3 years 前 | 2 个回答 | 0