Thread Subject: second derivative

Subject: second derivative

From: Lu

Date: 2 Jun, 2008 17:12:02

Message: 1 of 4

Hi,

Somehow I can't find my last thread regarding calculating
second derivative. I still can't figure it out how I can
compute approximate second derivatives for (x,y) data.

Thank you!

Subject: second derivative

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 2 Jun, 2008 17:24:38

Message: 2 of 4

In article <g219l2$k56$1@fred.mathworks.com>, Lu <lu_yu@nacm.com> wrote:

>Somehow I can't find my last thread regarding calculating
>second derivative. I still can't figure it out how I can
>compute approximate second derivatives for (x,y) data.

Your previous thread is available at

http://groups.google.ca/group/comp.soft-sys.matlab/browse_frm/thread/9e8ea0a613990a2e/cbcf5f6cd60a624d

(As you are using the Mathworks newsreader, you will probably have
to manually paste that together into a single URL.)
--
  "They called it golf because all the other four letter words
  were taken." -- Walter Hagen

Subject: second derivative

From: Roger Stafford

Date: 2 Jun, 2008 19:56:01

Message: 3 of 4

"Lu " <lu_yu@nacm.com> wrote in message <g219l2$k56
$1@fred.mathworks.com>...
> Hi,
>
> Somehow I can't find my last thread regarding calculating
> second derivative. I still can't figure it out how I can
> compute approximate second derivatives for (x,y) data.
>
> Thank you!
-------
  It's also at:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/170022

Roger Stafford

Subject: second derivative

From: aasim Azooz

Date: 3 Jun, 2008 20:04:02

Message: 4 of 4

"Lu " <lu_yu@nacm.com> wrote in message <g219l2$k56
$1@fred.mathworks.com>...
> Hi,
>
> Somehow I can't find my last thread regarding calculating
> second derivative. I still can't figure it out how I can
> compute approximate second derivatives for (x,y) data.
>
> Thank you!

if y=f(x) then the first derivative is
y1=diff(y)./diff(x)
The second derivative is
y2=diff(y1)./diff(x)
don't forget that the size of y1 is less than the size of y
by one and the size of y2 is less than the size of y by two

Aasim Azooz

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com