Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2017 SR2 Operating System: Windows 7
Is there any way to simulate, tabulate, and plot a piecewise function by itself, instead of fitting one to a data set?
I also want to do the same thing for a Gaussian curve, but I think i can figure this out.
I need to make a column of data that generates a piecewise function. I need to go from y=0 when x<-0.375 to y=1 when x is between -0.375 and 0.375 and then back to y=0 when x>0.375.
I then need to sum this piecewise function with a series of equivalent Gaussian curves of varied width at many values of x.
I am trying to simulate the field of view of a detector, and want to match up this simulation with real data to determine the actual field of view of my detector.
You can use Function Plot, please select from menu File:New:Function Plot:2D Function Plot.... Set x From -1 to 1, set Y(x) = x<-0.375?0:(x<0.375?1:0).