Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Resources > Mathematics Software Discussion
Reply
 
Thread Tools Display Modes
  #1  
Old February 24th, 2009, 05:00 PM
Ond Ond is offline
Junior Member
 
Join Date: Feb 2009
Posts: 27
Country:
Thanks: 0
Thanked 5 Times in 5 Posts
Ond is on a distinguished road
Default 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.
Reply With Quote
Advertisement
 
  #2  
Old February 25th, 2009, 01:07 AM
CaptainBlack's Avatar
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 12,232
Country:
Thanks: 776
Thanked 3,975 Times in 3,208 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 09:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.