From: Ahmed Al-Adwani on
hello guys,

I would like to plot a sinsouidal pulse as "positive peak" only, and no matter what the time vector is I want only one pulse.
ty very much and waiting for ur psitive comments
From: TideMan on
On May 17, 6:23 pm, "Ahmed Al-Adwani" <o...(a)hotmail.com> wrote:
> hello guys,
>
> I would like to plot a sinsouidal pulse as "positive peak" only, and no matter what the time vector is I want only one pulse.
> ty very much and waiting for ur psitive comments

Please translate this into English for me:
ty very much and waiting for ur psitive comments
From: Ahmed Al-Adwani on
sorry about my broken english, I just wanted to thank anybody who would help me in this problem. If you have any idea that could help me please post it.
From: Mark Shore on
"Ahmed Al-Adwani" <o5no(a)hotmail.com> wrote in message <hsqnc7$nfs$1(a)fred.mathworks.com>...
> hello guys,
>
> I would like to plot a sinsouidal pulse as "positive peak" only, and no matter what the time vector is I want only one pulse.
> ty very much and waiting for ur psitive comments

Rescale your time vector so that it lies between 0 and pi.
From: Greg Heath on
On May 17, 2:23 am, "Ahmed Al-Adwani" <o...(a)hotmail.com> wrote:
> hello guys,
>
> I would like to plot a sinsouidal pulse as "positive peak" only, and no matter what the time vector is I want only one pulse.
> ty very much and waiting for ur psitive comments

x = [zeros(1,N), sin((0:M)*pi/M), zeros(1,P)];

Hope this helps.

Greg