How to genarate gaussian curve from another gaussian curve?

조회 수: 3 (최근 30일)
AS
AS 2021년 5월 10일
댓글: Mathieu NOE 2021년 5월 11일
I have the data points of the red curves and I want to generate the blue curve from red curve. The area difference between two curves i.e the gap between red and blue curves I know. Also the area of the red curve and the blue curve are known to me. Is it possible to generate the the blue curve from red curve. The X axis is the time which is fixed for both and Y axis denotes amplitude values.
Please provide me suggestions.
  댓글 수: 3
AS
AS 2021년 5월 10일
yes.
how to shift and scale one curve to look as much as possible like the other?
Mathieu NOE
Mathieu NOE 2021년 5월 11일
hello
well you have two triangles and you have to define a X scale factor (according to the ratio of X values of the lower right "corner" of the two triangles = 56/42) and also a Y scal factor based on the ratio of the two peaks
the x and y values of the blue curve will be scaled according to the corresponding factors
for the x axis , please keep the first lower left "corner" x value (approx 12 from my reading) unchanged so the equation for the x vector should be :
x_new = X_scale_factor * (x_old - 12) + 12;
that shouldn't be too complicated for the y axis data

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by