|
From: | Nicholas Jankowski |
Subject: | Re: help with example script to run |
Date: | Tue, 7 Nov 2017 20:31:24 -0500 |
Hello,
A little script from internet. I am desperate newbie. -
error: 'talbot_inversion_sym' undefined near line 5 column 11
Is it posible that someone helps me?
Thanks - Regards Leo
script:
#----------------------------------------------------------- ------------------------------ ------------------------------ --------
clear all;
clc;
t = 0.1:0.1:6*pi;
w = pi;
results = talbot_inversion_sym(@(s) s/(s^2+w^2), t, 128);
plot(t, cos(w*t), ...
t, results, '.');
axis([t(1) t(end) -2 2]);
xlabel('Time'); title('f(t) = cos(\pi t) from f(s) = s/(s^2+\pi^2)');
legend('Known Function', 'Approximation');
#----------------------------------------------------------- ------------------------------ ------------------------------ -------------
function ilt = talbot_inversion_sym(f_s, t, M, P)
<snip>
[Prev in Thread] | Current Thread | [Next in Thread] |