MATLAB: Get the reflection of function

functionreflection

how can i get the reflection f(-t) of f(t) ?

Best Answer

t = linspace(0,2*pi) ;
f = @(t) sin(t) ;
figure
hold on
% f(t)
y1 = plot(t,f(t),'r') ;
%f(-t)
y2 = plot(t,f(-t),'b') ;
legend('f(t)','f(-t)')
Related Question