Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update membrane_solution.m
  • Loading branch information
ltd13002 committed Dec 15, 2017
1 parent b6447ba commit 3d67587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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:
Expand All @@ -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)')
Expand Down

0 comments on commit 3d67587

Please sign in to comment.