954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

loops in matlab

is there a way to do a backwards loop in matlab?
i tried:

for j = end; -1; 1


- but it's not going, it stays in "end"...

anilopo
Light Poster
29 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

well i found the problem:
it should be : and not ;...
:)

anilopo
Light Poster
29 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: