Azzera filtri
Azzera filtri

get the reflection of function

9 visualizzazioni (ultimi 30 giorni)
Mohamed ahmed
Mohamed ahmed il 28 Nov 2016
Risposto: KSSV il 29 Nov 2016
how can i get the reflection f(-t) of f(t) ?
  1 Commento
Image Analyst
Image Analyst il 28 Nov 2016
Uh, pass in -t instead of t??? Maybe I'm not understanding what you want.

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Dialog Boxes in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by