How can i smooth my graph?

hello guys.
i want to smooth out my graph so i can distinguish big peaks (pitches) in it from other spurious smaller peaks.how can i do that?is there a way to make it more visual easy for someone to see the big peaks or to emphasize even more the biggest peak?the graph shows the pitch period of a segment of a speech signal using the cepstrum algo.
cheers
Attachments:
untitled.JPG ‏20 KB

My suggestion would be to perform curve fitting,  In function tools>> Mathematics>> Fitting you will find quite a few cure fitting vi's ( Linear, Exponential, general polynomial fit etc).
Here is a brief introduction to curve fitting

Similar Messages

  • How can I get my graph to plot vs. my data points instead of vs. time?

    how can I get my graph to plot vs. my data points instead of vs. time?

    Maybe you could exaplin in a few more words what "my data" is. Are the values equally or randomly spaced?
    If they are equally spaced, just adjust offset and multiplier, and axis label.
    If they are randomly spaced you are probably looking for an X-Y graph. Check the shipping examples.
    LabVIEW Champion . Do more with less code and in less time .

  • How can i make a graph y is unmber pasing from UDP port,x is the time stamp.and in the same time this graph can display several numbers to compare.

    how can i make a graph
    y is number(the blue wire)pasing from UDP port,
    x is the time stamp.
    plus in the same time this graph can display several differenr numbers to compare.

  • Slowing down clip has a strobing effect(choppy)? How can I smooth it out?

    Hi guys,
    When I slow down the clip, it plays back choppy or with a strobing effect.
    How can I smooth it out in FCP5?
    Anyone please,
    Many thanks in advance,
    Zia

    Zia,
    I would double check that the 'frame blending' option is selected. Otherwise, is the original footage interlaced or progressive? If you shot progressive and only have 29.97 frames (or less) to work with, you might want to try a plug-in. If the frames do not exist, it will probably be difficult to get a really smooth look.
    Should you have shot at 30i (aka 60i), you can do some high tech stuff with a playback deck and your original tape- set the deck to progressive and the 60 fields will be tranformed into 60 frames (per second), hence giving a slow motion feel that rivals that of film. (this depends on your original media and what deck you can get your hands on)
    I just did this for a music video and even the best DPs that I know thought it was film.
    G5 Dual 2.0 4gigs RAM Mac OS X (10.4) FCP 5.0

  • How can I smooth a clip with part cut out?

    How can I smooth a clip with part cut out?  Someone walked in front of the camera when I was shooting; I removed the frames with the person in them, but this left a slight visual hiccup.  What's the best way to smooth this out in APE12?

    If you do not have a "cut-away," as Steve mentions, then with those problem Frames removed, I would add a Cross-Dissolve between the two Clips (two Clips, after you have cut out the offending footage), BUT, one thing to consider with any Dissolve Transition, is Handles. You need enough to allow for the Transition - so you might need to Trim the first Clip a few Frames more, and the following Clip, a few Frames less. For a bit more on Handles, see this article: http://forums.adobe.com/message/3727485#3727485
    Good luck, and hope that helps.
    Hunt

  • How can I cache dvt graph results?

    Hello colleagues, I need some help regarding dvt graphs performance.
    In our application we have big amount of data which the user can filter by adding grouping options, time ranges, etc. For the graph to be updated (the query to be re-executed), the user has to press a "Refresh" button each time he changes the query parameters.
    Once the new results are displayed in the graph, the user can change the graph type by pressing either a pie, bar, line or table buttons. As a consequence of this, the query is re-executed and returns the same previous results. This obviously drops the performance of the application.
    So, how we can manage to refresh the type of graph (for example from pie to bar) without re-executing the query. Note that the "Refresh" button should always re-execute the query even if the parameters were not changed.
    I'll appreciate your help.
    Regards,
    Nicolas
    Edited by: 864814 on Oct 14, 2011 6:05 AM

    And by the way how are you switching the graph type? Are you using an af:graph tag and switching just the type? Or are you rendering a complete new graph on your page?

  • How can I save a graph in labview ?

    Hi
    1-I want to save a graph when I press save botton in front panel!
      Do  get image and export image method have this feature or not?
    2-How can i autozoom graph when it is stopped?
    tnx 
    Solved!
    Go to Solution.

    muks wrote:
    You can use a save button and put the save inside a case.I have already shown you how to save as image then.
     yessss.thnx  a lot  

  • How can I make a graph?

    I want to give a swing application x and y parameters and it should then draw a graph for me.
    x and only be positiv and y can be both positiv and negativ.
    I only give x1, y1, x2, y2, x3, y3, etc and it should draw a graph with the given parameter.
    is this possible?`
    and is there any finished code?

    what I already have is this code but here he draws the function x?, but how can I cange it that he only draws the coordinates i give him x1, y1, x2, y2, x3, y3, etc?
    // GraphDemo.java
    import java.awt.*;
    import javax.swing.*;
    public class GraphDemo extends JFrame {
    GraphDemo()
    // super("Resize me!");
    this.setTitle("Frame Title");
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    getContentPane().add(new GraphPane());
    setSize(400,400);
    setVisible(true);
    public static void main(String[] args) {
    new GraphDemo();
    class GraphPane extends JPanel
    final int margin = 8;
    public void paintComponent(Graphics g)
    Dimension d = getSize();
    Rectangle r = new
    Rectangle(margin,margin,d.width-margin*2,d.height-margin*2);
    // background color
    g.setColor(new Color(255,255,255));
    g.fillRect(0,0,d.width,d.height);
    // grid color
    g.setColor(Color.lightGray);
    drawGrid(g,r,16,16);
    // line color
    g.setColor(Color.blue);
    drawFunction(g,r);
    private void drawGrid(Graphics g,Rectangle r,int w, int h)
    for(int y = 0;y <= h;y++) {
    int gy = ntrp(0,h,r.y,r.height,y);
    g.drawLine(r.x,gy,r.width,gy);
    for(int x = 0;x <= w;x++) {
    int gx = ntrp(0,w,r.x,r.width,x);
    g.drawLine(gx,r.y,gx,r.height);
    private void drawFunction(Graphics g,Rectangle r)
    boolean start = true;
    double epsilon = .01;
    double xa = -3.0;
    double xb = 3.0;
    int oldx = 0, oldy = 0;
    for(double x = xa;x <= xb; x += epsilon)
    // just a picturesque
    // sample function
    double y = Math.exp(-(x*x));
    int gx = ntrp(xa,xb,r.x,r.width,x);
    int gy = ntrp(0,1,r.height,r.y,y);
    if(!start) {
    g.drawLine(oldx,oldy,gx,gy);
    oldx = gx;
    oldy = gy;
    start = false;
    // interpolation routine
    private int ntrp(double xa,double xb,int ya,int yb, double x)
    return (int)((x-xa)/(xb-xa) * (yb-ya)) + ya;

  • How can I enlarge the graph in a BI JSP Page?

    I create a BI JSP Page, the graph is too narrow, so not enough wide. How can I change the sizew of the graph?
    Thanks in advance.

    Read this:
    http://help.apple.com/pages/ipad/2.2/#/tana29e86157

  • How can you evaluate a graphed point in numbers

    After you make a graph and incorporate a trendline. How can you evaluate that trend line at a specific x/y value point, even if it is not a graphed point in your table?

    If you know the constants from the trendline then you can use them to extrapolate.  To get the constants check the "Show Equation" box in the Chart Inspector > Series > Trendline
    On the graph you will see the equation for the trendline:
    In this case the equation is "y=2.6x + 2"
    I added a new column to the data table and named is "Y extrapolated".
    Then I highlighted the graph
    Then click on the "sprocket " for the X values in the data table and select the "Share X Values"
    Then click and hold the little circle at the bottom right corner of the selection in the table (to add the new column to the graph), then drag to the right one colum (my column is green).
    Then in the new column add the formula as shown:
    C7=2.6*A7+2
    select C7 and fill down  as need (by clicking and holding on the little circle at the bottom right of the selected cell).
    I hope this helps

  • How can I make waveform graph and/or excel file with two different dynamic DBL values?

    As the question describes, I have two dbl sources from a load cell and linear actuator (from firgelli). I want to make a load/displacement curve from the force readings from the load cell and the displacement readings from the linear actuator. The load cell outputs an analog signal that can be acquired by a DAQ and the actuator comes in with a board and VI program to control the speed and measure the displacement of the actuator to a sample rate of my choosing. Is there a way that I can make a VI where it continues to collect data and construct the graph I'm looking for?
    Solved!
    Go to Solution.

    A couple points about your application:
    1.  Synchronization.  Since you're ultimate goal is a stress/strain curve, it is vital that your force and displacement data be synchronized appropriately.  If your sampling is beyond a few times a second, this is not really possible without some form of hardware synchronization via either a trigger and/or sample clock.  Two NI DAQ boards can be synchronized this way easily, but it seems you're using 3rd party hardware for one of these processes.  Would need to know more about that board to know what options you have.  You could specify what your resolution is in distance, and how fast the article will be moving, to get an idea of how fast to acquire, and how well you'll need to synchronize the data.  Another option, since it appears each data stream will be sampled on a hardware-timed sample clock, they will be offset in time, but not skewed during the acquisition.  You may be able to identify a feature in the data set common to each and use that to remove the timing offset after the process is completed.
    2.  Display.  To display data during the acquisition process, I usually recommend at least one display that plots vs. time.  Much easier to spot irregularities with the acquisition process that way.  However, if you'd like to also plot force vs. displacement, you can use an XY Graph to plot parametrically. For Example, in your case you would use the Displacement data as the X coordinates, and the Force data as the Y coordinates.
    3.  Saving data to file.  I would recommend using the Save to Spreadsheet File.vi (File IO pallette) to save your data.  If you use a comma as the delimiter, and save the file with a *.csv extension, you will have a file that is easily read into excel.  The standard tab-delimited spreadsheet file is also fine, it will just require an extra step to read it into excel to specify to excel what the delimiter is.
    4.  Batch vs. Real-Time Recording (Data File).  If your process is short (< 30 sec) you may be better off acquiring the data, Storing it locally to the VI (Array - usually maintained in a shift register), and then writing the file with a header (acquisition parameters, test article information, data column headers) and the data all at once in batch mode to the file after the process is finished.  If, however, it is longer than that you would be better off starting a data file with a header and appending the data to the file as you go, so that if something happens during your test, you at least have data up to that point.
    Hope this Helps,
    Kurt

  • How can I get my graph to stop auto-scaling?

    I am not a new programmer and I know how to make a graph auto-scale... IF I want it to.  However, I have a cluster of graphs (strip charts and waveform graphs act the same) that take in values and update each time.  My issue is that I have a static window size and all of the graph start out 'square' with each other.  Then based on how large the y-axis numbers of each different graph get the whole graph grows and shrinks accordingly.  So it kind of makes my graphs look like a sideways equilizer settings type thing from my stereo.
    I'd like to keep the x-axis from changing size based on the y-axis number size.  If anyone can help it would be greatly appreciated.  I can send a sample of the problem if necessary.
    Thanks,
    Barney

    This link was ok... but it still did not solve my problem.  I saw the 'Advanced... Reset Scale Layout' but that made my graphs larger than I'd like them.  So when I resized them the problem persisted.  Also, I don't really have the option to swap sides on my y-axis. 
    It worked fine in LabVIEW version 6.1 but since the upgrade to LabVIEW 7.1 it hasn't worked.
    I've attached a VI.  Note how the left side of the graph grows and shrinks as the graph progresses. 
    Any ideas?
    Attachments:
    TestGraphProb.vi ‏140 KB

  • How can I change 3D graph Axis captions programmatically?

    Hi All,
              I'm using a 3D graph to display results of a particular set of tests. I wish to change the caption on an axis depending on which test I'm running, e.g. the x-axis to change its caption from Deg C to Time (nS), there doesn't seem to be a property node to facillitate this. Could someone please point me in the right direction?
            Thanks
               Rgds,
                ds1 
    Solved!
    Go to Solution.

    If you are using the CW 3d graph then see this thread where I illustrate how to change a property by using the CW 3d graph proprty screen as a guide.
    If you are not using the CW 3d graph .... I can not help you.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I display more graph data than will fit into memory?

    I'd like to graph more data than will fit into my computer's memory on a LabVIEW graph or some other LabVIEW control. In the past I've hacked this with the 2D Picture Control. LabVIEW would read through the huge file one chunk of manageable memory at a time and fill in the appropriate pixels in the 2D Picture Control as it read through the file.
    Is there a better way?

    Looks like mikeporter has done most of the heavy lifting for you in his excellent article.
    If the data will not fit in memory then you have little choice other than reading chunks at a time from file. I would probably so something like:
    Decide how much you want to work with at a time (say 1 MSamples). If your selected 'dataset' zoom level is 'all data' then you will have to read in all the file piecewise, decimate the data, and build up your 1MSamples array. You can then use the LabVIEW graph to zoom in and out and scroll that set of samples. This gives you some limited 'live' functionality on the decimated dataset, and means you don't have to read from the file every time you scroll or zoom.
    Then if you want to examine part of the data more closely, you need to change the 'dataset' zoom level to 'just these 100Msamples' (say). Re-read just that section of the file, decimate as needed, and display. As your 'dataset' of interest becomes smaller you will need to decimate less until you can just read sample for sample.
    These two levels of 'zoom' - a macro 'dataset' selected from the overall data, and the native graph zoom and scroll, should give a balance of usability without having to constantly read from file as you move around small sections of the data.
    Sorry I don't know of any existing code (though I'm sure someone has done it before!) - if you do implement something like this then maybe you could share

  • How can I make a graph using Xcode?

    Hi,
    I'd like to make a graph using Xcode 3.2.5 on an iMac 2009 with Mac OS X 10.6.7. I'm reading temperatures through the serial port (using an USB-serial cable) and I want to show how the temperature increases or decreases along the time. Can anyone help me?
    Thanks.

    history of this question is found here!
    Message Edited by GerdW on 11-26-2007 04:09 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for