11.11.2014 Views

Toolbox Reference Manual - TOCSY - Toolbox for Complex Systems ...

Toolbox Reference Manual - TOCSY - Toolbox for Complex Systems ...

Toolbox Reference Manual - TOCSY - Toolbox for Complex Systems ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

adjust<br />

Purpose<br />

Syntax<br />

Description<br />

Examples<br />

Adjusts two two-column vectors.<br />

[x, y]=adjust(a,b,flag)<br />

Adjusts the two-column vectors a and b to the same time scale (in first<br />

column), whereby using the flag, the following methods <strong>for</strong> adjustment<br />

can be choosen:<br />

0 – (default) adjustment by cutting.<br />

1 – adjustment by cubic interpolating.<br />

-1 – adjustment by cubic interpolating and <strong>for</strong>ced length (given by A).<br />

2 – gap filling by histogram estimation (experimental status).<br />

3 – gap filling by AR(p) estimation (experimental status).<br />

Except <strong>for</strong> flag=0, x and y will have the same length.<br />

x=(1:110)’;<br />

y1=x(11:end); y1(:,2)=sin(x(11:end)/10);<br />

y2=x(1:100)/2; y2(:,2)=sin(x(1:100)/5);<br />

[z1 z2]=adjust(y1,y2);<br />

10 <strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!