by Razin UTM | Aug 31, 2021 | FEM, MATLAB
1D Shape Function clear, clcsyms xq = 2; %order of poly (eg. quad–> q=2)L = 1; %create ux = a1 + a2x + …A1 = []; A0 = []; %temporary variablesux = 0;for i = 1:q+1aN = [‘a’ num2str(i)];syms(aN);ux = ux + aN*x^(i-1);A0 =...
Recent Comments