%% Inverse Hilbert Transform of Sinc Function
% Compute the inverse Hilbert transform of the sinc function, which is equal to sin(πt)/πt. Express the result as a function of s.

syms H(t) f(s);
H(t) = sinc(t);
f(s) = ihtrans(H,s)

% Plot the sinc function and its inverse Hilbert transform.

fplot(H(t),[0 6],'b')
hold on
fplot(f(s),[0 6],'r')
legend('sinc(t)','f(s)')

%
% Copyright 2018 The MathWorks, Inc.