wrapping

6 views (last 30 days)
Jonghyun eom
Jonghyun eom on 24 Feb 2012
I have a wrapped date. and then I use a commend "unwrap" in order to unwrapped data.
After unwrapping, I modified unwrapped data.
I want to get wrapped data again in order to see what happened is in data.
how do i wrap after taking "unwrapping original" data.

Answers (1)

Andrew Newell
Andrew Newell on 24 Feb 2012
You could save the changes when you unwrap and then reverse them:
pw = unwrap(pold);
pdiff = pw-pold;
... % change pw here
pnew = pw-pdiff;

Tags

Community Treasure Hunt

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

Start Hunting!