on saving as mat file #34

Hassan M (2017-08-28 09:31) · 62253 view(s) · 5 comment(s)

good night 

i use vital recorder to life export BIS vista data to my pc

when i convert vital file to matlab file, the data is 8 fold up sampled from 128hz to 1024hz

is this intended? if yes, why?

thanks 


정철우 (2017-09-04 16:09)
Rather than being intended, it is appropriate to say that resolution control has not yet been implemented in matlab file output.
However, you can generate a file with the desired time resolution by selecting the 'csv' file format from the 'save as' menu.
When you select the 'csv' file format and press the 'save' button, you will see an option window where you can adjust the time range, time resolution, and missing value processing.
You can solve your problem by importing the csv file from matlab.
We will add an option to adjust the time resolution of the matlab file in the next version upgrade.

Hassan M (2017-09-10 02:07)
Thanks

Hyung-Chul Lee (2017-09-07 10:10)
Thank you for your suggestion.
We have added the feature to specify epoch size or sampling frequency when saving as a matlab file.
You can also copy to the clipboard in a format that can be pasted into matlab by selecting the track then right click the mouse and choosing 'copy values to clipboard'.
These changes have been applied to 1.8.3, so please update to the latest version.

Hassan M (2017-09-10 02:29)
hi
i installed the update
dialogue box appears when i want to save as mat file. but it mixes between sampling frequency and epoch size. anyhow when i set sampling frequency to 128 hz, i have NaN instead of repeated values and most toolboxes do not work.
plus i think that there may be some security issue with this upgrade.
thanks
sincerely
hassan m.

Hyung-Chul Lee (2017-09-12 12:10)
Thank you for your reply.
1) In the next upgrade, the text will be replaced with "epoch size or sampling frequency".
2) This behavior is intended for accuracy. In the last version, we filled in missing values with zeros, but now we fill the blank with NaNs. To fill it with zeros, add the command "x (isnan (x)) = 0" to your matlab script.
3) During the installation of this upgrade, vital recorder is added as an exception to the firewall to support communication with our new iot device (vitalconnect) over the network. If you worried about this, please refuse it during installation or remove it from the exception list in the firewall setting.