Questions tagged [curve]

In mathematics, a curve (also called a curved line in older texts) is, generally speaking, an object similar to a line but which is not required to be straight.

1306 questions
-1
votes
1 answer

Anyway to fit this model to these data points?

I have been tryin to fit these data points to the exponential model y=ae^(px+qx^2). The reason I need this model fit is due to the paper "Temperature dependence of the functional response" by Göran Englund 2011 where they fit this model on data…
-1
votes
1 answer

How to find knee of curve in python?

I am trying to find a way to find the knee of a curve, given a set of points, and found the python package kneed which seems like the right tool to get the job done. By the "knee" of the curve here, I mean the point in the curve where the slope most…
-1
votes
1 answer

How to convert 0..1 input to a hyperbola 0..1 output

I have an input between 0 and 1, inclusive, which produces a linear result. I need to convert this to a hyperbola curve, where the result is also between 0 and 1, inclusive. This should produce a rapidly ascending value at first, then slowly…
RopeySim
  • 423
  • 4
  • 11
-1
votes
1 answer

Calculate arc coordinates based on original point, end point, center, distance and bearing using python

Having the following information: Origin point: Point(lat_origin, long_origin) End point: Point(lat_end, long_end) Center point: Point(lat_center, long_center) Distance: 100 Bearing: 90º from shapely.geometry import Point origin_point =…
David Ordoñez
  • 55
  • 1
  • 1
  • 8
-1
votes
2 answers

How to curve svg group of points

So I am creating svg group of circles and need to curve them on user input. But I can't calculate right position. User can curve 3..n circles (i have all position of every circle). Example in image https://i.stack.imgur.com/1YiV2.png any idea how to…
-1
votes
3 answers

Find the area between two functions

I solve the following problem. There are two functions f(x) and g(x). Each of them is divided into parts. The f(x) function consists of 'n' parts, and g(x) consists of 'm' parts. Each part is represented as a Second-Degree Polynomial Function (ax^2…
Bahrom
  • 13
  • 3
-1
votes
1 answer

Trouble adding a normal curve to histogram in R

I'm trying to add a normal distribution curve to a histogram using curve. This is my code: hist(df$col, freq=T) curve( dnorm(x, mean=8.9,sd=5), 0, 30, add=T, col="blue") The histogram does look fine, but the curve is not adequately displayed (just…
mucl
  • 113
  • 1
  • 6
-1
votes
1 answer

Cubic Bézier formula returning wrong result

I've created a very simple form of a Cubic Bézier in Java in order to retrieve the Y value of the point retrieved given the time (t). In my implementation My first (P1) and last (P4) points are always (0, 0) and (1, 1) respectively, and I'm only…
driima
  • 623
  • 1
  • 11
  • 28
-1
votes
1 answer

Is there an accurate curve fitting method that returns coefficients which can be used to generate the original curve back via a function? (Matlab)

Take a set of data and plot a curve. Take the curve and apply curve fitting to generate coefficients. Use coefficients to generate the curve back via a function. Currently tried polynomial with nth orders, but is very inaccurate. Also tried spline…
-1
votes
1 answer

how can I color the part in red using scilab and xfpoly

How can I color the part in red using scilab and xfpoly. Is there a way to color the calculated surface just after the integral between two bounds?
-1
votes
1 answer

Creating a curve from dataframe

I have a dataframe that looks like this : 0 1 2 ... 147 148 149 Columns 0 190.2 190.5 189.9 ... 146.7 146.4 146.1 Values 0 -49.3892 -47.0297 -39.528 ... -30.7926…
Mat17
  • 67
  • 2
  • 9
-1
votes
1 answer

How to create a curve shape in CSS

I'm trying to create a curve shape in CSS but I'm not able to do it. I've attached some examples of the kind of shapes I want to create.
Rushi
  • 23
  • 7
-1
votes
1 answer

Draw sine wave curve

Output is a straight line, but should be a curve. Not sure if the problem is maths or code. I know the problem is in the bit where it says (Math.sin(sum3.getValue()) however I can't work out what it should be... I have for some reason got a post it…
daragnah
  • 1
  • 1
  • 2
-1
votes
1 answer

How to discover position of points to draw on Canvas?

I'm making a map on Canvas and I want to find the position of all the points and control points from my curves so I tried on GIMP but I don't know if its the best way to do it. What I want to know is if you guys know a better way than going point …
-1
votes
1 answer

Converting OpenCV histogram to curve and vise versa

Using OpenCV in python, I got the histogram of one channel in an image, Can I convert it to a curve so as to multiply this new curve with another curve then return the output curve to a histogram to act as a filter on my image?