Questions tagged [differentiation]

The process of finding a derivative.

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much one quantity is changing in response to changes in some other quantity.

The derivative of a function at a chosen input value describes the best linear approximation of the function near that input value. For a real-valued function of a single real variable, the derivative at a point equals the slope of the tangent line to the graph of the function at that point. In higher dimensions, the derivative of a function at a point is a linear transformation called the linearization.[1] A closely related notion is the differential of a function.

236 questions
0
votes
2 answers

Matlab differentiate an inline function

How can I differentiate my Function Fun? When I try to use diff it says 'diff' is not supported for class 'inline' The code I used is shown below: fprintf('Newton Raphson\n'); Fun=input('\nType a function \n'); xi=input('\nType initial…
0
votes
1 answer

Differentiate an infix formal language functions

I have a source file like (without loss of generality (only to image a possible syntax)): function a() return g // global variable without any internal structure exactly end function b(x, y) local z = x * y return z + 1 end function…
Tomilov Anatoliy
  • 15,657
  • 10
  • 64
  • 169
0
votes
1 answer

Can I change the formula of a symbolic function in MATLAB?

I have the following code: syms t x; e=symfun(x-t,[x,t]); In the problem I want to solve x is a function of t but I only know its value at the given t,so I modeled it here as a variable.I want to differentiate e with respect to time without…
Controller
  • 489
  • 7
  • 27
0
votes
1 answer

Solve differentiated equation at value in Matlab

As a programming exercise I have written a Matlab function which finds the derivative of a function using the finite difference method. In a script I have called the function and wish to check it using the built-in functions, except I am having…
Finn LeSueur
  • 479
  • 5
  • 18
0
votes
0 answers

How to find symbolic differentiation in java

I learned that by using DerivativeStructure in org.apache.commons.math3.analysis.differentiation package, one can calculate partial derivatives of a function. DerivativeStructure x = new DerivativeStructure(1, 3, 0, 2.5); DerivativeStructure x2 =…
0
votes
0 answers

First, second and third derivative of a vector function

I can define the following vector function f(x, y, z) = [x2 - 1, x3 + y2, z] In MatLab or in Maple. I want to find (and evaluate) the first, second and third derivatives of it. How to find: ∇f, ∇2f and ∇3f? Here vector function f is differentiated…
Mia
  • 101
0
votes
1 answer

Find 2nd Derivative of Acceleration - UIAccelerate

Hi I'm working on an iOS app that requires finding the z value of the accelerometer and then deriving it twice of find the "Jounce" value. Heres what I have so far: In -(void)accelerometer:(UIAccelerometer *)accelerometer…
virindh
  • 3,775
  • 3
  • 24
  • 49
0
votes
1 answer

Is the absolute value function differentiable at x=0

Both Wolfram Alpha (diff abs(x)) and Maxima (diff(abs(x),x,1);) say that the absolute value function is differentiable at x=0, and that the derivative is x/abs(x). How would you go about excluding the point x=0 from the domain when formulating the…
0
votes
1 answer

Matlab not processing second for-loop

I am trying to validate some accelerator data that I have collected by comparing it against the LVDT displacements that were also recorded. To do this I am trying to differentiate the LVDT data twice to get acceleration. However when I run my code…
0
votes
1 answer

Differentiating tuple valued functions in mathematica

How does one create and perform differentiation on tuple valued functions in Mathematica. More specifically, I have the following functions, where R denotes the real line f:R^2 -> R^3 g:R^3 -> R^3 h: R^3 -> R^1 I want to consider the…
smilingbuddha
  • 14,334
  • 33
  • 112
  • 189
0
votes
1 answer

jquery animate child elements each at different speed

I am using jquery animate function to move a block in my content div. The basic structure is as follows:
block 1
block 2
block 3
My js: //main menu clicked: …
Jamol
  • 3,768
  • 8
  • 45
  • 68
0
votes
3 answers

Fast way of calculating differences between two bitmaps

Possible Duplicate: What is the fastest way I can compare two equal-size bitmaps to determine whether they are identical? I'm trying to efficiently calculate the differences between two bitmaps and set any matching pixels black. I've tried…
Joey Morani
  • 25,431
  • 32
  • 84
  • 131
0
votes
1 answer

calculate a derivative in javascript

To calculated the value of the derivative of a given function Func at a given point x, to get a good precision one would think this: a = Fun( x - Number.MIN_VALUE) b = Func( x + Number.MIN_VALUE) return (b-a)/(2*Number.MIN_VALUE) Now for any x +…
Swair
  • 1,503
  • 2
  • 15
  • 27
0
votes
2 answers

vectorization of differentiation in R

I have a table stored in a dataframe in R. I want to calculate the first derivative along each column. Columns are measured variables, rows are time. Can I vectorize this function ? df$C <- df$A + df$B In principle I'd like something like…
Doc
  • 358
  • 1
  • 4
  • 24
-1
votes
1 answer

How to solve the following problem on MATLAB

a(x) here is a type of equation used in signal Let y(x) = x^3 + x^2 + x + 1 a(x) is inputed by the user so for example if user inputs a(x) = D2 + D + 6 y(x)*a(x) = D2(x^3 + x^2 + x + 1) + D(x^3 + x^2 + x + 1) + 6(x^3 + x^2 + x + 1) here D2(x^3 + x^2…
C-137
  • 1
  • 2
1 2 3
15
16