Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to draw the magnitude of displacement ?

1 Ansicht (letzte 30 Tage)
Mallouli Marwa
Mallouli Marwa am 18 Mai 2016
Geschlossen: Walter Roberson am 19 Mai 2016
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)');

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by