|
From: | Nicholas Jankowski |
Subject: | Re: help - two different syntaxes produce different results |
Date: | Wed, 30 Oct 2019 09:33:49 -0400 |
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 = v = [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?
[Prev in Thread] | Current Thread | [Next in Thread] |