From: Hasan Al-Rubaye on
Hi,

I've been trying to evaluate a definite integral in Simulink. I could not find one block to do the whole job. So, I used the regular integration block hoping that I will be able to evaluate the produced signal at two points (the integration limits), and then subtract the values. My question is: is there anyway to evaluate a signal at a specific time in Simulink? or maybe there is a different way to approach the problem all together.

Thank you,
Hasan
From: Srikanth on
On Jun 2, 3:35 pm, "Hasan Al-Rubaye" <hasan.rub...(a)hotmail.com>
wrote:
> Hi,
>
> I've been trying to evaluate a definite integral in Simulink. I could not find one block to do the whole job. So, I used the regular integration block hoping that I will be able to evaluate the produced signal at two points (the integration limits), and then subtract the values. My question is: is there anyway to evaluate a signal at a specific time in Simulink? or maybe there is a different way to approach the problem all together.
>
> Thank you,
> Hasan

You might try this - create a pulse which is one at the time intervals
you want to integrate, and zero everywhere else (a characteristic
function - there might be a block for this already - or you can just
subtract two step signals).
hth
From: Hasan Al-Rubaye on
great, thank you.

Srikanth <skt(a)xdtech.com> wrote in message <e7756259-c3b3-4ca3-80b1-b85c5734b116(a)t14g2000prm.googlegroups.com>...
> On Jun 2, 3:35 pm, "Hasan Al-Rubaye" <hasan.rub...(a)hotmail.com>
> wrote:
> > Hi,
> >
> > I've been trying to evaluate a definite integral in Simulink. I could not find one block to do the whole job. So, I used the regular integration block hoping that I will be able to evaluate the produced signal at two points (the integration limits), and then subtract the values. My question is: is there anyway to evaluate a signal at a specific time in Simulink? or maybe there is a different way to approach the problem all together.
> >
> > Thank you,
> > Hasan
>
> You might try this - create a pulse which is one at the time intervals
> you want to integrate, and zero everywhere else (a characteristic
> function - there might be a block for this already - or you can just
> subtract two step signals).
> hth