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:
log (x) when x tends to 0

Subject: log (x) when x tends to 0

From: Jose

Date: 2 Mar, 2009 16:02:54

Message: 1 of 2

Hi everyone, someone can help me to solve:

log(1e-323)...the result in matlab is -Inf, but i need the specific value,

i am trying with the serie:
i=1:1000
serie=(-1).^(i+1)./i.*(p-1).^i;

But is imposible to reach the real value, I have to use a superior limit greater
than 1000000, but Matlab says out of memory.

Somedody can help me to solve it, thanks
jose.

Subject: log (x) when x tends to 0

From: Jose

Date: 2 Mar, 2009 17:06:02

Message: 2 of 2

Simple: -323*log(10)
Thanks Jose,
:)


"Jose " <jose.l.vega@gmail.com> wrote in message <gogvve$pp0$1@fred.mathworks.com>...
> Hi everyone, someone can help me to solve:
>
> log(1e-323)...the result in matlab is -Inf, but i need the specific value,
>
> i am trying with the serie:
> i=1:1000
> serie=(-1).^(i+1)./i.*(p-1).^i;
>
> But is imposible to reach the real value, I have to use a superior limit greater
> than 1000000, but Matlab says out of memory.
>
> Somedody can help me to solve it, thanks
> jose.

Tags for 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