Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Integration in matlab

Subject: Integration in matlab

From: robert LAURENCE

Date: 22 Sep, 2010 21:22:05

Message: 1 of 4

Hi everyone

I am trying to integrate 10^(2+10log(x)) in matlab. for some reason it is not working.
Does anyone know how to do it?

Subject: Integration in matlab

From: Walter Roberson

Date: 22 Sep, 2010 21:27:17

Message: 2 of 4

On 10-09-22 04:22 PM, robert LAURENCE wrote:

> I am trying to integrate 10^(2+10log(x)) in matlab. for some reason it
> is not working. Does anyone know how to do it?

How are you attempting to do the integration? Do you have the symbolic
toolbox? Have you tried replacing '10log(x)' with '10*log(x)' ? Or is that an
indication of log10(x) ?

Subject: Integration in matlab

From: robert LAURENCE

Date: 22 Sep, 2010 22:06:05

Message: 3 of 4

Walter Roberson <roberson@hushmail.com> wrote in message <i7dsg9$1oi$1@canopus.cc.umanitoba.ca>...
> On 10-09-22 04:22 PM, robert LAURENCE wrote:
>
> > I am trying to integrate 10^(2+10log(x)) in matlab. for some reason it
> > is not working. Does anyone know how to do it?
>
> How are you attempting to do the integration? Do you have the symbolic
> toolbox? Have you tried replacing '10log(x)' with '10*log(x)' ? Or is that an
> indication of log10(x) ?

Sorry I meant to say 10*log10(x). I try to do it using int() in matlab but I am not getting any thing.

Subject: Integration in matlab

From: Sean

Date: 22 Sep, 2010 22:28:05

Message: 4 of 4

"robert LAURENCE" <bzoh@uno.edu> wrote in message <i7dukd$9dr$1@fred.mathworks.com>...
> Walter Roberson <roberson@hushmail.com> wrote in message <i7dsg9$1oi$1@canopus.cc.umanitoba.ca>...
> > On 10-09-22 04:22 PM, robert LAURENCE wrote:
> >
> > > I am trying to integrate 10^(2+10log(x)) in matlab. for some reason it
> > > is not working. Does anyone know how to do it?
> >
> > How are you attempting to do the integration? Do you have the symbolic
> > toolbox? Have you tried replacing '10log(x)' with '10*log(x)' ? Or is that an
> > indication of log10(x) ?
>
> Sorry I meant to say 10*log10(x). I try to do it using int() in matlab but I am not getting any thing.

syms x
int('10*log(x)/log(10)',x,3,6)

That is weird, but just convert it to natural log...

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us