774 B
774 B
+++ title = "Interpolation" author = ["Dehaeze Thomas"] draft = false +++
Tags :
Band limited interpolation
https://en.wikipedia.org/wiki/Whittaker%E2%80%93Shannon_interpolation_formula
rng default
t = 1:10; % Time Vector [s]
x = randn(size(t))'; % Sampled data [V]
ts = linspace(-5,15,600); % New time vector [s]
[Ts,T] = ndgrid(ts,t);
y = sinc(Ts - T)*x;
{{< figure src="/ox-hugo/interpolation_perfect_example.png" caption="<span class="figure-number">Figure 1: Sampled and interpolated signals" >}}