We know digital computer cannot deal with continuous time signals directly. But then how MATLAB "plot" command works? Does that uses interpolation techniques
Below is link of a MATLAB central question which is like this same issue
https://www.mathworks.com/matlabcentral/answers/512043-matlab-deals-only-with-discrete-signals
plot(x,y)
simply plots a straight line of Y
vs X
with no interpolation. Do not confuse the visualization of a straight line on your screen with the actual data in x(:)
and y(:)
. Using plot(x,y,'o')
, for example, would plot the points only.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.