Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: integral
Replies: 2   Last Post: Dec 31, 2012 1:19 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
maryam

Posts: 17
Registered: 12/25/12
Re: integral
Posted: Dec 31, 2012 1:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Roger Stafford" wrote in message <kbsfpq$g2j$1@newscl01ah.mathworks.com>...
> "maryam " <raha_smm@yahoo.com> wrote in message <kbs5hu$dgc$1@newscl01ah.mathworks.com>...
> > Hi dear all
> > The f( t,f ) function generate a m-by-n matrix, x axis of matrix denotes time domain and y axis denotes frequency domain.
> > I would like know how is calculated the integral in every column, b=integral f(t,f) from ?f/2 to f/2, the result be equal to the b 1-by-n vector.
> > Thanks & best regards

> - - - - - - - - - - - -
> Matlab's 'trapz' function performs integration on discretely-defined data. There are also File Exchange routines that use higher order polynomial approximations for this purpose.
>
> However, you have said, "The f( t,f ) function generate a m-by-n matrix, x axis of matrix denotes time domain and y axis denotes frequency domain." Do you mean that the integer values 1:n are the actual time values and 1:m the frequency values? That seems unlikely to me. If this is not so, then how are these quantities defined? You of course need to know this to perform an integration on your function.
>
> Roger Stafford

---------------------
Dear Roger Stafford
thanks a lot for your reply, my problem is solved with 'trapz' function.
best regards


Date Subject Author
12/31/12
Read integral
maryam
12/31/12
Read Re: integral
Roger Stafford
12/31/12
Read Re: integral
maryam

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.