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
0 answers

matlab differentiate function

I'm fairly new to matlab and have written the following function to use in the fsolve command. function F =…
NVH
  • 1
  • 1
0
votes
2 answers

Range Function For Floats In Small Intervals

I want to find the derivative of a function (x)(x - 1) using the definition of a derivative. I want my increments to be 1e-2. So that it simulates the limit going to zero. I saw on Range for Floats that I could use user-defined functions to create…
0
votes
1 answer

Accessing parameters in a webservice from a different application

I have C# webservice webmethods hosted on a server and accessed by different applications(web,winforms etc). Is there any way i can detect that these parameters are sent from winforms, these are from webservices on a webservice? All they do is…
Sharpeye500
  • 8,775
  • 25
  • 95
  • 143
0
votes
1 answer

How to differentiate within a class? python beginner

from sympy.mpmath import * I'm constructing a beam model, but I've encountered some trouble with the last part - getSlope. Otherwise though, the rest should be fine. class beam(object): """Model of a beam. """ def __init__(self, E, I,…
tablue
  • 81
  • 5
0
votes
0 answers

Initialize Button Different class in java

I got a problem when I build a class to use its own module like VB.net, because I don't want to initialize the Button's Label and TextField a lot of line in everyday, but I got an error when button didn't initialize it. When I try to build the…
Seakleng Say
  • 350
  • 4
  • 13
0
votes
1 answer

Simulink implementation of Fourier Transform Property of Integration and Differentiation (Part 2)

So this is a continuation of the thread in this link: https://stackoverflow.com/questions/33677430/simulink-implementation-of-fourier-transform-property-of-integration-and-differe# I've made some progress (I think) and I now have this: The output…
John
  • 65
  • 1
  • 1
  • 10
0
votes
1 answer

Differentiation using MATLAB

I'm trying to write a small program using MATLAB in which I try to differentiate a function that I created inside a different function, but I keep getting errors. My files are: newton.m: function [ y, iter ] = newton( f, fp, x0 ) iter =…
Buzi
  • 248
  • 3
  • 12
0
votes
1 answer

Apply cwt in Matlab

I'm trying to implement an algorithm which has been described in a paper. It deals with accelerometer data which has to be filtered and differentiated. My input is a vector (1 column, multiple rows). As described here The vector has to…
0
votes
0 answers

Matlab: diff(interp1(...'pchip')) produces strange results?

I have the following arbitrary data: t=[0 1 2 3 4 5 6 7 8 9 10 12 14]; C=[0 1 5 8 10 8 6 4 3.0 2.2 1.5 0.6 0]; area=trapz(t,C); E=C./area; F=cumtrapz(t,E); When plotted, it looks as follows: Now, I want to smoothen the…
Mierzen
  • 566
  • 1
  • 5
  • 25
0
votes
1 answer

Best way to initialize a function to differentiate and plot it in Matlab

I am new to Matlab and I am looking for your advice on what is a suitable or best way(s) to initialize a function ( = vs =@ or other options) to be able to differentiate it, find a value at a specific argument and plot it as well as tangent lines at…
user10853
  • 302
  • 1
  • 4
  • 17
0
votes
0 answers

Different database in ruby on rails based on variable ( demo database for product demo purpose) best way to implement?

I would like to be able easily switch database in my rails application. The idea is simple: Same codebase for production and demonstration application Different database Clean minimal implementation My thought was perhaps based on the hostname im…
Rubytastic
  • 15,001
  • 18
  • 87
  • 175
0
votes
1 answer

Using diff (v) or D(v) in matlab

I have an equation given by the formula. Its actually charge a variable capacitor given by the following relation. *q=c(v)dv...........Equation (1) c(v) is a function of v and v is just s sine wave defined in matlab as under. t = 0:0.01:5; f=0.2; v…
AK K Khan
  • 41
  • 7
0
votes
1 answer

What are some error functions that take into account the sign of the error?

The mean square error squares the error as a result all the errors become positive. The information pertaining to the positivity or negetivity of the error is lost. Are there any error functions that take into account the sign of the error?
Shaun
  • 313
  • 3
  • 9
0
votes
1 answer

list of differentiations ( Maclaurin expansion)

Here,I have a diff function which can be used to differentiate. for example diff (sin x) ("x")= cos x (here,(sin x) is the function, ("x") is the variable i want to differentiate) How to use iterate to generate a list of differentiations of…
overpro
  • 49
  • 8
0
votes
1 answer

Differentiation from FFT finding extrema

I'm trying to find zeros of a function. See my code below. Because fft expects a numerical array, I didn't define the symbolic function to use fzero. However, this approach is not accurate and depend on step. Do you have a better…
Abolfazl
  • 453
  • 4
  • 8
  • 19