|
From: | Delphine Fitzenz |
Subject: | imbricated loops |
Date: | Fri, 5 Nov 2010 17:27:45 +0000 |
Hi! It seems basic, but can-t find the reason for the bug in the FAQ or the manual. Here goes: EQ1, L1 and L2 are vectors of length 1000. when I type
I get an error message at the 2nd for statement. I tried another way, with a while loop, and then I get troubles before the second while (the equivalent of the 3rd for) when I need to initiate k to i. It seems that octave does not want to evaluate the value of the counters. example:
Thanks for any suggestion. I am used to programming in C or C++ and thought that just for a quick verification of a computation I could do it directly with octave, but it does not seem that straightforward... All the best, Delphine. |
[Prev in Thread] | Current Thread | [Next in Thread] |