how to plot a hexagonal finite element and its shape function?
조회 수: 4 (최근 30일)
이전 댓글 표시
<p><</matlabcentral/answers/uploaded_files/92040/Screenshot%20(1).png </matlabcentral/answers/uploaded_files/92040/Screenshot%20(1).png>>
shape function is given by:
N1 = -0.6429−
댓글 수: 0
답변 (1개)
KSSV
2017년 10월 24일
n = 10 ;
eta = linspace(0,1,n) ;
neta = linspace(0,1,n) ;
[X,Y] = meshgrid(eta,neta) ;
N = -0.6429-X+1.1429*X.^2+0.8571*Y.^2+1.5*X.^3+0.8333*X.*Y.^2-1.5238*X.^2.*Y.^2 ;
surf(X,Y,N)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!