How to bin x y graph
4 views (last 30 days)
I have a x, y graph,as shown in picture. I want to combined it to one single curve. Can you please let me know how to do that. I tried using binning but my x and y values are dependent means when I plot only y data it looks different. I will appreciate your help. Thank you
Image Analyst on 19 Oct 2015
Combine all the arrays into single x and y arrays, then you can sort the data based on the x values, then use sgolayfilt() in the Signal Processing Toolbox. I've attached an example.