open-discussion
open-discussion > RE: PESTICa in CONN
Feb 16, 2016 10:02 PM | Eduardo A Garza Villarreal
RE: PESTICa in CONN
Hi
Well, so far I think the files I can use are "card_pestica.dat" and "resp_pestica.dat" and I'm making a small script for Matlab in this way:
card_pestica=dlmread('card_pestica.dat')
volume = 36
card_pestica_vol = arrayfun(@(i) max(card_pestica(i:i+volume-1)),1:volume:length(card_pestica)-volume+1);
card_pestica_vol = reshape(card_pestica_vol,[300,1])
With that I get a 1D file with 300 rows (volumes) and the MAX for each volume.
Please confirm using the volume MAX is alright, or should I use the MEAN?
Thank you
Eduardo
Well, so far I think the files I can use are "card_pestica.dat" and "resp_pestica.dat" and I'm making a small script for Matlab in this way:
card_pestica=dlmread('card_pestica.dat')
volume = 36
card_pestica_vol = arrayfun(@(i) max(card_pestica(i:i+volume-1)),1:volume:length(card_pestica)-volume+1);
card_pestica_vol = reshape(card_pestica_vol,[300,1])
save('card_pestica_vol.mat')
and
dlmwrite('card_pestica_vol.txt',card_pestica_vol)
With that I get a 1D file with 300 rows (volumes) and the MAX for each volume.
Please confirm using the volume MAX is alright, or should I use the MEAN?
Thank you
Eduardo
Threaded View
Title | Author | Date |
---|---|---|
Eduardo A Garza Villarreal | Feb 16, 2016 | |
Eduardo A Garza Villarreal | Feb 16, 2016 | |
Wanyong Shin | Feb 17, 2016 | |
Eduardo A Garza Villarreal | Feb 17, 2016 | |
Helene Veenstra | Oct 20, 2016 | |