Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update
  • Loading branch information
chv14004 committed Mar 29, 2017
1 parent e545ce2 commit e6fbabb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions question6.m
Expand Up @@ -2,7 +2,7 @@ clc;
clear;

BeamLength=5;
NumSegments=10;
NumSegments=5;
deltax=BeamLength/NumSegments;

n=NumSegments-1;
Expand All @@ -16,7 +16,7 @@ for i= 1:n-1
A(i,i+1)=-1;
A(1+i,i)=-1;
end
A(n,n)=-3


eig(A)

0 comments on commit e6fbabb

Please sign in to comment.