Results 1 to 3 of 3

Math Help - time domain analysis from pressure sensor

  1. #1
    Newbie
    Joined
    Mar 2010
    Posts
    2

    time domain analysis from pressure sensor

    dear all,
    i am now detecting the leak from pipeline. i am a very new user for matlab. i am now facing some difficulties to do time domain analysis from the pressure sensor. i have already done for frequency domain analysis but still need to analyse with time domain.
    here is my frequency domain analysis. pls help me how to write the code for time domain analysis. my final result is intended to detect the pipe when it will leak as exact as i can.

    directory = cd;
    > > c = [0.0018441793 34.3574964587]; % stn-a
    > > filelist = ls(['STN_a*.raw']);
    > > allpressure =[];
    > > fs = 1000;
    > > for ii= 252:253
    > > prid = fopen(char(filelist(ii,));
    > > pressure = fread(prid, inf, 'int16');
    > > fclose(prid);
    > > allpressure = [allpressure; pressure];
    > > end
    > > t = linspace(0,length(allpressure)/fs,length(allpressure));
    > >
    > > figure;
    > > plot (t,allpressure);
    > > xlabel('time (sec)');
    > > ylabel ('pressure (psi)');
    > > specgramdemo(allpressure,1000);

    thanks in advance!
    poe
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by poepoe View Post
    dear all,
    i am now detecting the leak from pipeline. i am a very new user for matlab. i am now facing some difficulties to do time domain analysis from the pressure sensor. i have already done for frequency domain analysis but still need to analyse with time domain.
    here is my frequency domain analysis. pls help me how to write the code for time domain analysis. my final result is intended to detect the pipe when it will leak as exact as i can.

    directory = cd;
    > > c = [0.0018441793 34.3574964587]; % stn-a
    > > filelist = ls(['STN_a*.raw']);
    > > allpressure =[];
    > > fs = 1000;
    > > for ii= 252:253
    > > prid = fopen(char(filelist(ii,));
    > > pressure = fread(prid, inf, 'int16');
    > > fclose(prid);
    > > allpressure = [allpressure; pressure];
    > > end
    > > t = linspace(0,length(allpressure)/fs,length(allpressure));
    > >
    > > figure;
    > > plot (t,allpressure);
    > > xlabel('time (sec)');
    > > ylabel ('pressure (psi)');
    > > specgramdemo(allpressure,1000);

    thanks in advance!
    poe
    Not enough information, what time domain analysis do you want to do?

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Mar 2010
    Posts
    2

    time domain analysis from pressure sensor

    i'm sorry for my incomplete message. time domain analysis for fourier transform and wavelet transform.

    thanks!
    poe
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 11
    Last Post: January 12th 2011, 06:49 PM
  2. Time Series Analysis
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: April 10th 2010, 11:28 PM
  3. Laplace -> time domain
    Posted in the Calculus Forum
    Replies: 2
    Last Post: November 8th 2008, 05:03 PM
  4. Calculating direction of acceleration from MEMS sensor
    Posted in the Advanced Applied Math Forum
    Replies: 2
    Last Post: August 2nd 2008, 11:19 PM
  5. Time-Varying Analysis...
    Posted in the Advanced Math Topics Forum
    Replies: 5
    Last Post: June 14th 2008, 06:58 AM

Search Tags


/mathhelpforum @mathhelpforum