Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Defining Log[0] = 0 ?' topicStudent Support Forum > General > "Defining Log[0] = 0 ?"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Kaveh
09/28/08 12:26pm

I believe you can do it by creating a rule such as /.Log[0]-> 0
Here is an example:

data = Table[{x, Log[x]}, {x, 0, 10}] /. Log[0] -> 0;
ListLinePlot[data]

Good Luck.

URL: ,

Subject (listing for 'Defining Log[0] = 0 ?')
Author Date Posted
Defining Log[0] = 0 ? Tracy 09/28/08 04:41am
Re: Defining Log[0] = 0 ? Kaveh 09/28/08 12:26pm
Re: Defining Log[0] = 0 ? Xavier 09/28/08 1:58pm
Re: Defining Log[0] = 0 ? yehuda ben-s... 09/28/08 2:22pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic