get the reflection of function

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

1 Comment

Uh, pass in -t instead of t??? Maybe I'm not understanding what you want.

Sign in to comment.

 Accepted 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)')

More Answers (0)

Categories

Asked:

on 28 Nov 2016

Answered:

on 29 Nov 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!