MATLAB won't plot my graph
이전 댓글 표시
%Forced Vibration Project 3.2
%Define values
omeganought = 1.1;
m = 0.3;
F = 0.5;
t = linspace(0, 2*pi / ( abs(omeganought - omega) / 2 ), 250 );
%Predefine Consant
Constant = ( F / (2*m*omeganought) );
%Lines and Curves
FA = Constant * t;
FB = (-1) * Constant * t;
FC = Constant * t * sin( omeganought * t );
%Plotting the graphs
Plot (t,FA,t,FB,t,FC);
This is a Script I wrote to plot a graph on MATLAB. I don't know what I'm doing at all and I basically just copied the same format that my friend used for a different graph on the same project. Can anyone explain what I did wrong here? Thanks
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Networks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!