Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8709195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:18:32+00:00 2026-06-13T04:18:32+00:00

the blue plot is a noisy plot of the original plot(red). Is there any

  • 0

Gradient Image

the blue plot is a noisy plot of the original plot(red). Is there any way to approximate the blue plot to nearly red plot?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:18:34+00:00Added an answer on June 13, 2026 at 4:18 am

    Let’s define a wavy function:

    x = 0:.1:20;
    y1 = 5*sin(x) + 2*x - x.^2 +.3*x.^3 - .2*(x-15).^4 - 10*x.^2.*cos(x./3+12).^3 + .5*(x-12).^4;
    

    And add lots of noise:

    r = randi(1000,1,201) - 500;
    y2 = y1+r;
    

    Now make a 1D Gaussian filter, normalize it and convolve it with our function:

    g = gausswin(20); % <-- this value determines the width of the smoothing window
    g = g/sum(g);
    y3 = conv(y2, g, 'same')
    

    Let’s see the result

    figure;
    hold on; 
    plot(y1, 'r', 'linewidth', 3); 
    plot(y2, 'b'); 
    plot(y3, 'g', 'linewidth', 3);
    

    Red the original function, blue the noisy version, green the smoothed, ‘recovered’ function.

    line graph of smoothed function

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to place 3 density functions in plot using plot(density(all_noise),xlim=c(-1,1),ylim=c(0,10)) lines(density(max_nearby),col=blue) lines(density(max_repeats),col=red)
IE9 has this ridiculous blue arrow that's rendered any time the browser window has
I am looking for a way to plot a matrix of type character: m=matrix(data=c(A,A,B,B,B,C,C,B),nrow=4,ncol=2)
I have a time series data that can plot using: plot(x$numbers, type=l, col=blue) I
I use library(RgoogleMaps) to plot measurement-positions on a map (points). There is different equipment
What do the blue arrows located on the top left of a control indicate
I have Textbox with blue Background and white Foreground . When entering a text
To fix the UITextview blue color issue for links in ios ( i want
Out of the blue today I started getting this error in Visual Studio 2008
I have with an blue tooth application from android api sample.I am displaying blue

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.