|
From: | Joe Tusek |
Subject: | help - two different syntaxes produce different results -typo in previous |
Date: | Wed, 30 Oct 2019 12:30:05 +0000 |
Hi, When I run the following code v = [68 73 77 85 95 85 104 99 68 181 162 92 98 130 123 93 94 87 87 88] [a, b]= find(v>100) v(a,b)= 0 av = [68 73 77 85 95 85 104 99 68 181 162 92 98 130 123 93 94 87 87 88] [c]= find(av>100) av(c)= 0 The top script produces 6 cells with 0 in them and the bottom script produces 5 cells with zero in them. It seems to me that these should produce the same result? I am using W10 and Oct 5.1.0. Regards Joe Tusek
(BE MBA) |
[Prev in Thread] | Current Thread | [Next in Thread] |