Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Discussion Groups | Matlab DSP | Two matlab questions from a beginner

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

Two matlab questions from a beginner - holm...@gmail.com - Jun 23 8:34:31 2008



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.



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )