I need a Matlab code of the differential quadrature method to solve the equation of motion of a vibrating piezoelectric beam knowing that I used Euler Bernoulli's model ??
Differential Quadrature Matrix for 1st derivative based on Lobatto grid.It calculates for N grid points.Higher derivatives can be easily calculated by using D matrix.
Or this might work: (as an example)
function [D]=Diff_Quad(N)
%
% Differential quadrature matrix for N
% points based on Lobatto grid points.
% D matrix converts the diff. equation into eigenvalue problem.
Differential Quadrature Matrix for 1st derivative based on Lobatto grid.It calculates for N grid points.Higher derivatives can be easily calculated by using D matrix.
Or this might work: (as an example)
function [D]=Diff_Quad(N)
%
% Differential quadrature matrix for N
% points based on Lobatto grid points.
% D matrix converts the diff. equation into eigenvalue problem.