Even and odd part of function
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
FEDERICO RODELLA
am 14 Nov. 2022
Kommentiert: FEDERICO RODELLA
am 14 Nov. 2022
Hi, I have to find the even and the odd part of this function, and plot them.
I do this
syms t
y = piecewise(1 < t < 3, t-1, 0);
fplot(y)
and then?
0 Kommentare
Akzeptierte Antwort
Matt J
am 14 Nov. 2022
syms t
y = symfun( piecewise(1 < t < 3, t-1, 0) ,t);
yeven=(y(t)+y(-t))/2
fplot(yeven)
and similarly for the odd part.
3 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

