I have a signal which I want to "flatten":
There are specific points I select (too complicated to explain why, just trust that I have to select these points):
so when they are superimposed you can see how the selected points mirror the original signal:
I then use CFTool and "smoothing spline" model to get the smoothed curve through the selected points:
My QUESTION is: how can I now get the x,y points from the CFTool so that I can go back to my original data (stored as an array) and subtract the smoothed curve from the original data and thereby "flatten" the signal. In short, I have created a smoothed "baseline" using CFTool which I want to subtract from the original signal.
I can't figure out how to get these x,y, data out from CFTool. The command "Save to Workspace" generates obscure parameters in my workspace. The MatLab CFTool help is too opaque for me. Is there an easy tutorial for this or better still, do you have an easy explanation?