Closed hongandyan closed 3 years ago
The two most likely causes are (i) you put your data in as a row vector (it must be a column) or (ii) it contains a non-finite value. If neither of those work, let me know and I'll check out your data. Jonathan
On Fri, Feb 19, 2021 at 3:07 PM hongandyan notifications@github.com wrote:
I'm trying to use mspec as [f,spp,snn]=mspec(1,cv,[]); but the returned values are f=0, spp and snn are all zeros. My raw data is here https://www.dropbox.com/s/qj0zrrmw8usl88t/PaPa2.mat?dl=0 where cv = UU_obs + i*VV_obs; cv=cv-mean(cv);
Where could be wrong? thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonathanlilly/jLab/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWKBAWY5IYQGD3L5ZF3LBLS73AJHANCNFSM4X46RK5A .
Thanks for the quick help! Indeed it's a row vector causing the issue. After chanigng to column, it works like a charm. thanks again for your effort on this package. Hong
Great! Glad that worked!
On Fri, Feb 19, 2021 at 5:49 PM hongandyan notifications@github.com wrote:
Thanks for the quick help! Indeed it's a row vector causing the issue. After chanigng to column, it works like a charm. thanks again for your effort on this package. Hong
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jonathanlilly/jLab/issues/16#issuecomment-782428256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWKBAWQ2WYZT3PL5IAIRV3S73TJFANCNFSM4X46RK5A .
I'm trying to use mspec as [f,spp,snn]=mspec(1,cv,[]); but the returned values are f=0, spp and snn are all zeros. My raw data is here https://www.dropbox.com/s/qj0zrrmw8usl88t/PaPa2.mat?dl=0 where cv = UU_obs + i*VV_obs; cv=cv-mean(cv);
Where could be wrong? thanks