Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to draw the magnitude of displacement ?

조회 수: 2 (최근 30일)
Mallouli Marwa
Mallouli Marwa 2016년 5월 18일
마감: Walter Roberson 2016년 5월 19일
Hi, i want to plot the magnitude of tip displacement x(:,1) in function of rload but i obtain zeros. I don't know where is the problem such as x(:,1) in function of rload is harmonic function.
index=1;
for i= 0:20:50000
xs = sum(x(:,1).^2);
xrms = sqrt(xs /(numel(x(:,1))+1));
xtrms(index) =xrms;
index= index + 1; end
figure;
plot([0:20:50000],xtrms,'r')
xlabel('rload(Ohm)');
ylabel('magnitude of tip displacement(m)');

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by