Results 1 to 2 of 2

Math Help - Simple Matlab problem

  1. #1
    Ond
    Ond is offline
    Junior Member
    Joined
    Feb 2009
    Posts
    28

    Simple Matlab problem

    Hi there.

    Plot the function f(x) = 1-exp(2*x) on the intverval [-1, 1] using a grid of evenly spaced points 0.01 units apart.

    I'm a complete newbie in Matlab, help anyone? Thanks in advance.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by Ond View Post
    Hi there.

    Plot the function f(x) = 1-exp(2*x) on the intverval [-1, 1] using a grid of evenly spaced points 0.01 units apart.

    I'm a complete newbie in Matlab, help anyone? Thanks in advance.
    >x=[-1:0.01:1]
    >help plot

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Matlab. Simple???
    Posted in the Math Software Forum
    Replies: 5
    Last Post: June 28th 2010, 07:45 PM
  2. Replies: 14
    Last Post: April 23rd 2010, 03:52 AM
  3. Replies: 2
    Last Post: March 15th 2010, 03:33 AM
  4. Simple matlab, legend location help
    Posted in the Math Software Forum
    Replies: 3
    Last Post: October 20th 2009, 01:58 AM
  5. simple matlab question
    Posted in the Math Software Forum
    Replies: 2
    Last Post: October 15th 2009, 12:29 PM

Search Tags


/mathhelpforum @mathhelpforum