Serving the Quantitative Finance Community

 
User avatar
sungju1203
Topic Author
Posts: 0
Joined: December 11th, 2010, 4:13 am

Can anyone help me with plotting derivatives in maple or matlab?!!

December 17th, 2011, 11:12 pm

I am a fresh college student who are ignorant to mathmatical tools.This is my class assignment and I want to graph following derivatives in maple or matlab.I want to graph delta(t) of (a), (b), (c), and (e) since (d) is already expressed in terms of delta(t)from time 0 to 10.Can anyone please teach me how to graph these functions?Pretend you are teaching a noob.Thank you for your help!!! http://imageshack.us/photo/my-images/82 ... ment2.jpg/
Last edited by sungju1203 on December 17th, 2011, 11:00 pm, edited 1 time in total.
 
User avatar
ppauper
Posts: 11729
Joined: November 15th, 2001, 1:29 pm

Can anyone help me with plotting derivatives in maple or matlab?!!

December 18th, 2011, 12:09 pm

>> want to graph following derivatives I'm not sure exactly what you mean by "delta", but if you want to plot the derivative in maple, one way is to first calculate that derivative and then plot it:e.g.a3:=1.08^t;a3t:=diff(a3,t):plot(a3t,t=0..10);that's all there is to it
 
User avatar
willsmith
Posts: 2
Joined: January 14th, 2008, 11:59 pm

Can anyone help me with plotting derivatives in maple or matlab?!!

December 23rd, 2011, 5:48 am

in matlab:plot(0:10, diff(a));etc
 
User avatar
ExSan
Posts: 493
Joined: April 12th, 2003, 10:40 am

Can anyone help me with plotting derivatives in maple or matlab?!!

December 26th, 2011, 10:53 am

°°° About ExSan bit.ly/3U5bIdq °°°
 
User avatar
ppauper
Posts: 11729
Joined: November 15th, 2001, 1:29 pm

Re: Can anyone help me with plotting derivatives in maple or matlab?!!

October 11th, 2017, 4:03 pm

very quick idiot-level question on gnuplot in windows10.
I'm used to using gnuplot in linux without the front-end, and in linux, gnuplot looks for data in the directory you are in when you start gnuplot
Which directory do you put data in in windows 10?
I've tried Desktop and the directory where gnuplot installed itself when I downloaded it, and in both instances I get
> plot "fort34.dat"
      warning: Cannot find or open file "fort34.dat"

edit: the answer is put it in the documents folder