Clear Filters
Clear Filters

get the reflection of function

2 views (last 30 days)
Mohamed ahmed
Mohamed ahmed on 28 Nov 2016
Answered: KSSV on 29 Nov 2016
how can i get the reflection f(-t) of f(t) ?
  1 Comment
Image Analyst
Image Analyst on 28 Nov 2016
Uh, pass in -t instead of t??? Maybe I'm not understanding what you want.

Sign in to comment.

Accepted Answer

KSSV
KSSV on 29 Nov 2016
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

Find more on Dialog Boxes in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!