Not enough input arguments.
Show older comments
function [xi,w] = GaussInt2Pt()
xi = [-sqrt(1/3) sqrt(1/3)];
w = [1 1];
return;
end
function [N,B,Jac] = shapeQuadratic(x1,x2,x3,xi)
%%Le = x3- x1;
N = (1/2)*[(-xi+xi^2) 2*(1-xi^2) (xi+xi^2)];
Jac = [(1/2)*(-1+2*xi) -2*xi (1/2)*(1+2*xi)]*[x1;x2;x3];
B = diff(N)/Jac;
return;
end
2 Comments
Alexander Cordero
on 16 Dec 2019
Edited: Alexander Cordero
on 16 Dec 2019
Alexander Cordero
on 16 Dec 2019
Accepted Answer
More Answers (0)
Categories
Find more on Create Requirement Links in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!