Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to shift this function's broken points by a known value

Status
Not open for further replies.

neoserdes

Electrical
Jun 5, 2011
1
I have a function in mathcad which will have multiple broken points.

I need to shift the curve to make them continuous again. For example, the shown graph will need 2nd segment by 1x, the 3rd segment by 2x and so on.

However, I don't know how to do it in Mathcad. If any one can help, that will be great. Because Mathcad is still kind of more visualized than Matlab so that I can do it in a more intuitive way in Mathcad.

Thanks,
Neo
 
Replies continue below

Recommended for you

This is a somewhat common problem, do a google search for "phase unwrapping". Also, if you have the signal processing toolbox, take a look at phasecor().

Or, as IRstuff said, post a worksheet.

Peter
 
Or in psuedo language


ignore first value
repeat until end of signal
if discontinuity then add the size of the discontinuity to all subsequent values
end


Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor