Okay I'm really struggling with Matlab. I've tried doing this question using the ones zeros code and stuff but I guess I don't really have a clue what I'm doing.
So I have that f(t) = 0 for t > 30 and f(t) = 15 if t =< 30. So I was wondering what I do, because f(t) has no actual t in it so like that confuses me? Like if I said f1=0 f2=15 f=[f1 f2] and then get fft of f I can't imagine that's correct so could anyone offer any help please?
Thank you!
So I have that f(t) = 0 for t > 30 and f(t) = 15 if t =< 30. So I was wondering what I do, because f(t) has no actual t in it so like that confuses me? Like if I said f1=0 f2=15 f=[f1 f2] and then get fft of f I can't imagine that's correct so could anyone offer any help please?
Thank you!