get the reflection of function

3 vues (au cours des 30 derniers jours)
Mohamed ahmed
Mohamed ahmed le 28 Nov 2016
Réponse apportée : KSSV le 29 Nov 2016
how can i get the reflection f(-t) of f(t) ?
  1 commentaire
Image Analyst
Image Analyst le 28 Nov 2016
Uh, pass in -t instead of t??? Maybe I'm not understanding what you want.

Connectez-vous pour commenter.

Réponse acceptée

KSSV
KSSV le 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)')

Plus de réponses (0)

Catégories

En savoir plus sur Dynamic System Models dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by