coordinates from a fitted curve

3 次查看(过去 30 天)
Hi,
I have some data, I want to just connect the data together. I used "linearinterp". now, I would like to have the data from the fitted curve. I mean, my data are discrete, by "linearinter" I made a continuous curve wich fills the gaps between my data. now I want to read the coordinates of the new graph, even those which are not presented as my data.
Could anyone help me please?
Thanks
  2 个评论
darova
darova 2019-11-6
Can you attach the data? Show your attempts/efforts?
Show the result picture (schematically) you want to see
S  P-W
S P-W 2019-11-6
here is part of my data.
I want to have FWHM of these data. I know the coordinate of the Max amount: Ymax and its corresponding X.
Then I calculated the "half maximum". now I need to know the X coordinate for Y_halfmaximum on both sides of the plotted data/curve. but the point is that my data are not basically continous, so it is not granted if I have the point with the coordinate of (x, Y_halfmaximum) on each side, so I cannot then calculate delX as FWHM. I tougth maybe if I can fit a curve or simply just connect the data point together, can have the continuous data. but the point is even just by connecting the data I dont have what I need.
can you help please.
Thanks

请先登录,再进行评论。

采纳的回答

Star Strider
Star Strider 2019-11-6
The "linearinterp" function appears to be an R function.
Use interp1 in MATLAB. Since you have to define the independent variable interpolation points as an input argument, you will have those and the interpolated points as the output from interp1.
  5 个评论
S  P-W
S P-W 2019-11-6
big like!
thanks a bindle.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Spectral Estimation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by