필터 지우기
필터 지우기

Assemble of column vector in column

조회 수: 3 (최근 30일)
Chaudhary P Patel
Chaudhary P Patel 2021년 1월 11일
댓글: Mathieu NOE 2021년 1월 12일
FG=[];
FG=zeros(N,1);
m=5;
for n=1:1:ne %Calling elements
for i=1:1:6
d2=dof(n,m+i-1); %Calling degree of freedom for second node
force=eval(['force',num2str(n)]); %Calling elemental force vector
FG(d2,1)= FG(d2,1)+force(i,1); %calling element of the elemental force vector and adding to global force vector
end
end
  댓글 수: 6
Chaudhary P Patel
Chaudhary P Patel 2021년 1월 11일
thank you sir for your help.
I got my mistake.
Mathieu NOE
Mathieu NOE 2021년 1월 12일
ok - good luck for the future

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by