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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.