Questions tagged [smoothing]

Smoothing related to statistical programing solutions in which a signal is filtered to create an approximating function that attempts to capture important patterns in the data, while leaving out noise, or for visual clarity to see general trends.

In scientific software for statistical computing and graphics, function smooth.spline implements a smoothing spline; function ksmooth implements a kernel estimator; function loess implements LOESS.

1479 questions
-1
votes
2 answers

determine mean zero crossing

using numpy I have extracted the zero crossings of a signal. Unfortunately the source of the data is noisy and thus there are multiple zero crossings. If I filter the data before checking for zero crossings, aspects of the filter (gain-phase…
Naib
  • 999
  • 7
  • 20
-1
votes
2 answers

python: smooth interpolation

I know how to do linear interpolation, this is what I've build for it at the moment: http://repl.it/BBL9 What I don't see is how I'll do smooth interpolation. I'm coding a mesh deformer and I have a problem due to the in-point and end-point…
probiner
  • 91
  • 9
-1
votes
1 answer

smooth scroll after select radio input

I want user select a radio input
lock
  • 711
  • 3
  • 9
  • 19
-1
votes
1 answer

Smooth polygon in polar plot- R package

In R package, is there any way to smoothen the polygon in a polar.plot? I tried to use the splines, but could not find a way to insert the curved line in the polar.plot.. (I am a begginer in R programming)
Maria
  • 35
  • 5
-1
votes
1 answer

How to average the 5 past altitude values from the iPhone barometer

I'm creating an application that displays the variation of altitude using the new iPhone6 barometer. Although the output data has noise so I would like to apply a 5 points moving average to smooth data. Here is the code I have to calculate the…
Rik
  • 1
-1
votes
1 answer

How to smooth numbers from a file as many times as wanted in Python 2.7?

I'm trying to create a code that will open a file with a list of numbers in it and then take those numbers and smooth them as many times as the user wants. I have it opening and reading the file, but it will not transpose the numbers. In this format…
user45
  • 3
  • 1
-1
votes
1 answer

obtain global maximum of a fitted smoothing spline from R function 'smooth.spline'

I smoothed my data using smooth.spline(x,y) and now I want to calculate the mode or maximum of smoothed curve. x <- vect.1 y <- vect.2 plot(x, y, type = 'l') smth <- smooth.spline(x, y) lines(smth, col = 'red', lwd = 2) My current approach is…
Masih
  • 920
  • 2
  • 19
  • 36
-1
votes
1 answer

Adobe Edge Animation Mouse Wheel Smooth Scroll

I have made parallax scrolling by using Adobe Edge Animation there is a problem with scroll by mouse wheel. How can i make it smooth. http://bestbuypakistan.com/Oil/Oil.html
Kashif Hashmi
  • 75
  • 1
  • 2
  • 10
-1
votes
1 answer

smooth transition while background switch

im trying to make dynamic backgrounded page. im using the code below; function loadBackground() { $.ajax({ url: 'getimages.php', success : function(filename) { $('html').css('background', 'url('+filename+') no-repeat…
haybeye
  • 131
  • 12
-1
votes
2 answers

How to make android app (animation) faster/smoother?

I've started the development of a guitar application, and am stuck on a graphical aspect. My screen contains a background image, which you can move with 2 fingers, by sliding up or down. My background image, a bitmap, moves at low fps on an android…
user2116613
  • 11
  • 1
  • 1
-1
votes
3 answers

Smoothing Data Array PHP

I have an array: Array ( [1] => 25 [2] => 50 [3] => 25 ) I would like to make it into: Array ( [1] => 50 [2] => 50 ) To do this I split the middle value between 1 and 3. This is the simplest example, where the split is 50,50. I…
Davin
  • 137
  • 1
  • 2
  • 11
-1
votes
2 answers

How to linearise a zig-zag line in matlab

I have to linearise a zig-zag line in matlab. I have used the 'line' command of matlab to generate a tilt line but it is not smooth. Can anyone help me. I now use the following code len = 3; wid = 1; ly = 1; lx = 0.5; th = 60; vertices = [lx …
Shayan Ali
  • 65
  • 2
  • 16
-1
votes
2 answers

Plot R, curve smooth

In a plot with points, I also have some curves. I used the curve function to get the exponential function in: curve (fishA$parameterB * (x ^ fishA$parameterAlpha), from = 50, to = 80, n = 100, add = TRUE) The curve isn't smooth. How do I…
Marnix de Zeeuw
  • 61
  • 1
  • 1
  • 4
-2
votes
1 answer

One sided filter, online filtering, caual filtering

This is actually a repost of a question of mine from some weeks ago. I got good hints but I couldn't inf the perfect solution yet. I am looking for a Filter which just uses historic data for "smoothing". I tried several filters from the…
chameau13
  • 626
  • 7
  • 24
-2
votes
1 answer

How do I get a smooth curve from a few data points, in R?

I am trying to plot the rate 1/t as it changes with mue. The code is given below and I have highlighted the relevant lines with input and output. library("deSolve") library("reshape") library("tidyverse") Fd <- data.frame() MUES <- c(100, 1000,…
14thTimeLord
  • 363
  • 1
  • 14
1 2 3
98
99