-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCalcNwy.m
More file actions
19 lines (19 loc) · 845 Bytes
/
CalcNwy.m
File metadata and controls
19 lines (19 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function Hw=CalcNwy(xx,yy,nn,Lx,Ly)
%this function evaluates each term of
% FIRST derivative in the y-direction of
% TWO Dimensional Polynomial
% of nn NODES in the x&y directions
% at the POINT xx,yy
%The Polynomial used is the Modifies Lagrange
% Polynomial described in the paper mentioned below
%********************************************
fi=CalcN(xx,nn,Lx); %Evaluating the x-polynomial
gj=CalcNx(yy,nn,Ly); %Evaluating the y-derivative
Hw=PolyMult(fi,gj,nn); %Multiplying the 1-D polynomials
%********************************************
%Function will work on Octave, FreeMat, and Matlab
%Create by Mohammad Tawfik
%mohammad.tawfik@gmail.com
%In assotiation with research paper published on
%ResearchGate.Net
%DOI: 10.13140/RG.2.2.24039.75682