I need help with a Fourier Transform problem for a composite waveform for an assignment. I'm stumped with how to approach this one.
The only way I could think of to solve this was by considering it as a six-part piecewise function, but this seemed very long and complicated. Another user on this site asked me to write my function as sum of a triangle and two rectangles.
I tried adding the following waveforms Triangular - -3 to +3 with height 3 Rectangular - -2 to 2 with height 1 Rectangular - -1 to 1 with height 1
I plotted them in MATLAB and ended up with this:
The vertical lines that connect the segments are a problem. Is there any way to just translate the required segments upwards without the lines? Also am I doing this wrong? Any help with solving this one would be really appreciated :)

