About 3,970,000 results
Open links in new tab
  1. Differentiation - MATLAB & Simulink - MathWorks

    To find the derivative of g for a given value of x, substitute x for the value using subs and return a numerical value using vpa. Find the derivative of g at x = 2.

  2. diff - Differentiate symbolic expression or function - MATLAB

    Find the derivative of the function t (X) = A ⋅ sin (B ⋅ X), where A is a 1-by-3 matrix, B is a 3-by-2 matrix, and X is a 2-by-1 matrix. Create symbolic matrix variables to represent A, B, and X, …

  3. diff - Differences and approximate derivatives - MATLAB

    Feb 1, 2025 · Use the diff function to approximate partial derivatives with the syntax Y = diff(f)/h, where f is a vector of function values evaluated over some domain, X, and h is an appropriate …

  4. How to find the derivative of the function at some value of x?

    Jul 1, 2017 · To differentiate a function and then find the value, use symbolic functions. For details, see https://www.mathworks.com/help/symbolic/create-symbolic-functions.html

  5. how to calculate a derivative - MATLAB Answers - MATLAB Central …

    Feb 26, 2012 · can some one guide me how to calculate a derivative and integration in matlab . can you please give a little example.

  6. Derivative of function handle - MATLAB Answers - MATLAB …

    May 27, 2018 · The diff function works in different ways depending on the input. It either takes the numeric difference (shortening the vector length by 1), or calculating the derivative of a …

  7. Numerical Integration and Differentiation - MATLAB & Simulink

    For differentiation, you can differentiate an array of data using gradient, which uses a finite difference formula to calculate numerical derivatives. To calculate derivatives of functional …

  8. To take the partial derivative of a function using matlab

    Feb 11, 2013 · Can anyone please help me in taking the analytical (partial) derivative of the function 'F' along X (i.e., w.r.t. X) along Y (i.e., w.r.t. Y) and along the diagonal (i.e., w.r.t. X …

  9. How do I take the derivative of my plot? - MathWorks

    For example, consider points that lie on the perimeter of a circle, or the function sqrt (x), near x==0. Or the function sin (x), over multiple periods. Or a classic problem function for …

  10. How can i find the derivative of a vector? - MATLAB Answers

    Apr 27, 2015 · I have a vector 1x80. If i put x (1,80) and y (the values of the vector from 1 to 80), i have a plot. I do not know the function which describes the plot. I want to plot the derivatives of …

Refresh