Using numerical differentiation to compute moment

1 次查看(过去 30 天)
I have the measurements of x with corresponding y displacement lengths:
x = [0,0.375,0.75,1.125,1.5,1.875,2.25,2.625,3];
y = [0,-0.2571,-0.9484,-1.9689,-3.2262,-4.6414,-6.1503,-7.7051,-9.275];
and dy/dx = theta(x) (1) >> theta is the slope
d-theta/dx = d^2y/dx^2 = M(x)/EI (2) >> M(x) is the bending moment
x is the diatance along the beam
y is the displacement
E is the modulus of elasticity (E = 200)
I is the moment of Inertia (I = 0.0003)
I am wondering how to use the following 2 approaches to compute Moment M(x)
(a)Numerically differtiate the first derivative of the theta(x) approximations from the previous part (which is the question I asked before)
then
(b)Numerically differentiate the second derivative of the measured y(x) data provided.
I guess my question would be how to differentiate a vector of numbers? Is there a numerical method we can apply in this case?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by