From 3d67587626c30fc7b49cdcf3e15b4c06807fa5dc Mon Sep 17 00:00:00 2001 From: Lucas T Dombroski Date: Thu, 14 Dec 2017 20:35:54 -0500 Subject: [PATCH] Update membrane_solution.m --- Part C/membrane_solution.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Part C/membrane_solution.m b/Part C/membrane_solution.m index 537747b..a0a995b 100644 --- a/Part C/membrane_solution.m +++ b/Part C/membrane_solution.m @@ -1,4 +1,4 @@ -function [w] = membrane_solution(T,P,n) +10function [w] = membrane_solution(T,P,n) % membrane_solution: dispalacement of node for membrane with nxn interior nodes % [w] = membrane_solution(T,P,n) % input: @@ -22,7 +22,7 @@ w = k\y; z = zeros(size(x)); z(2:end-1,2:end-1) = reshape(w,[n n]); surf(x,y,z) -title('Membrane Displacement (3 x 3)') +title('Membrane Displacement (10 x 10)') zlabel('Z Position (micron)') ylabel('Y Position (micron)') xlabel('X Position (micron)')