Prev: AR, Burg methods worse resolution than FFT
Next: mscohere speed with frequency vector specified
From: Avery Musbach on 7 Aug 2010 20:08 Is it okay if the source and destination overlap? For example, if I write A(3:5,1:3)=A(1:3,3:5), do I need to worry that maybe the new value of A(5,1) will be the old value of A(1,5) instead of the old value of A(3,3) (because maybe A(1,5) will be copied to A(3,3) and then A(3,3) will be copied to A(5,1))? I did a quick and simple test, and assignments like that seem to work, but I am still worried that it could be undefined behavior; maybe the result could be different in a future version of MATLAB.
From: Matt J on 7 Aug 2010 20:13 "Avery Musbach" <avery(a)cs.umn.edu> wrote in message <i3ksh3$m4c$1(a)fred.mathworks.com>... > Is it okay if the source and destination overlap? ==== Yes.
|
Pages: 1 Prev: AR, Burg methods worse resolution than FFT Next: mscohere speed with frequency vector specified |