How to generate a Halfsine pulse?

Hi everyone, I would like to generate a halfsine pulse using this formula (f(t)=Fo sin(pit/T1), 0≤t≤T1; f(t)=0, T1<t. Can anyone help me? See page 3 on this link: http://scholar.lib.vt.edu/ejournals/MODAL/ijaema_v7n2/trethewey/trethewey.pdf. Urgent need please
t=0:0.001:4
T1=0.02
if t>=0 && t<=T1
f(t)=sin(pi/Tc*t)
else
f(t)=0
end
F = f(t)

Answers (0)

This question is closed.

Products

Asked:

on 30 Apr 2013

Community Treasure Hunt

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

Start Hunting!