plotting complete response , but no output
显示 更早的评论
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 个评论
Star Strider
2020-6-23
There are only 11 elements of ‘p’ that are not zero, and except for the first one, they are all vanishingly small:
pnz = nonzeros(p)
produces:
pnz =
Inf
-2.9784e-25
-6.3842e-55
-1.1759e-84
-1.6269e-114
-4.9565e-145
7.4584e-174
3.7581e-203
1.2965e-232
3.7616e-262
9.6777e-292
Adam Danz
2020-6-23
Is there supposed to be a plotting function involved?
Have you explored the data and looked into the values of p? Do they make sense?
Seow Yen Yew
2020-6-24
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!