plotting complete response , but no output

조회 수: 2 (최근 30일)
Seow Yen Yew
Seow Yen Yew 2020년 6월 23일
댓글: Adam Danz 2020년 6월 24일
Hi everybody !! I have to plot the complete response , but when i execute code below, there was no output graph. Can anyone please help? Much appreciate.
%% code to perform the complete response
t1=0:0.1:10; % time
for i=1:length(t1)
t=t1(:,i);
p(i,:)=(1000*dirac(t))/11 - (15000000*exp(-(7500*t)/11)*(cos((1191998652453536545^(1/2)*t)/1441792) + (45126202170707309*1191998652453536545^(1/2)*sin((1191998652453536545^(1/2)*t)/1441792))/468712942123169826078720000))/121;
end
  댓글 수: 4
Seow Yen Yew
Seow Yen Yew 2020년 6월 24일
yes i think it need to involve plotting function. What code should i put i order to get the output graph?? I am sorry i am a beginner and lecturer what us to plot it for our homework.
Adam Danz
Adam Danz 2020년 6월 24일
Check out that link. Choose which variables should be x and y.

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

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by