필터 지우기
필터 지우기

please how to inrement a length of the beam by 0.01in this simpl equation this has not given the hand

조회 수: 1 (최근 30일)
for x=1:l+1;
phi(x,m)=sin((x-1)*pi*m/l);

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 2월 14일
Maybe you want
l=100
for x=1:l+1;
for m=1:10
phi(x,m)=sin((x-1)*pi*m/l);
end
end
plot(phi)
  댓글 수: 2
Azzi Abdelmalek
Azzi Abdelmalek 2014년 2월 14일
Sihem commented
l is limited by an equation in my parametres l=50 and think you for your answer
my eqation is combined by tow equations with tow variabl t and x when i write my equation with out increment the graph is Breaked
Azzi Abdelmalek
Azzi Abdelmalek 2014년 2월 14일
편집: Azzi Abdelmalek 2014년 2월 14일
l=50
x=1:0.001:l+1;
for ii=1:numel(x)
for m=1:10
phi(ii,m)=sin((x(ii)-1)*pi*m/l);
end
end
plot(phi)
%or maybe
plot(phi')

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

추가 답변 (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