Technical discussion about Matlab and issues related to Digital Signal Processing.
Hello
I'm sure there is a simple fix to my problem(s).
I am using the uigetfile function to load in a .txt file. Following a few operations I would
like to save a new variable with the filename obtained with the uigetfile function but add a
small extension to the name.
Currently I open the file - [filename, pathname, filterindex] = uigetfile('*.txt', 'Pick
file');
I do a few things to the file I select. Now have a new matrix (lets call it A). I would like to
save this file as the filename obtained from the uigetfile function plus a (-A) or (-new)
appended to it.
My second problem:
I have a large column of data and I would like to evaluate when the data becomes less than a
predetermined value(this I can do).
The second part of this I am having problems with - The second part of this requires the data
to be less than the predetermined value, however I would like to specify that there has to be,
for example, 3 consecutive data points greater than the predetermined value, for it to 'count'
or be considered for further analysis.
My apologies if this is not the correct place to post this.
I thank you in advance for any help you can lend.