hi I have the following code to calculate a fourier transform, which seems to be calculate the correct answer:
x1 = exp(-t/2).*(sin(4*t)).*heaviside(t);
However the fplot outputs a blank plot and returns a bunch of errors, the first of which is:
Operands to the logical AND (&&) and OR (||) operators must be convertible to logical scalar values. Use the ANY or ALL functions
to reduce operands to logical scalar values.
It's puzzling to me because there aren't any logical operators in the fplot command. Any help would be appreciated.