Community Profile

photo

Michael Ryan


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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...

2 years ago | 2 answers | 0

2

answers

Question


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....

2 years ago | 2 answers | 0

2

answers