matlab syntax (parentheses and functions)
Show older comments
Does anyone see anything wrong with the MATLAB syntax? k are variables for the loops I created in my main program.
Any help would be greatly appreciated. Thanks. I am running a 5000 iteration loop, but the syntax is troubling me. Thanks.

5 Comments
Star Strider
on 12 May 2014
Image Analyst
on 12 May 2014
I'll delete that one and keep this one since the answer is here.
Star Strider
on 12 May 2014
I answered the other one.
I deleted that answer (essentially the same as James Tursa’s) since the question was repeated and another answer was accepted.
Image Analyst
on 12 May 2014
Very Sorry! I must not have noticed your answer. But I am voting for most of your posts as consolation prize.
Star Strider
on 12 May 2014
I deleted my answer to the previous question as soon as I saw this one and verified that the question was essentially the same. That question and my answer were still up at the time I looked it up to verify it, then I deleted my answer as redundant.
I sort of wish there were negative reputation points or something for duplicate posts or new posts rather than following up threads of previous posts. I believe we’ve all been burned by that practice at least once.
Thanks!
You can delete this comment as well if you wish, since it’s just my frustrated rant!
Accepted Answer
More Answers (0)
Categories
Find more on Function Creation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!