0
votes

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

1
plot plots the points that your give to it and combines them with a straight line. - Sardar Usama
Dear usama, is it not the same process as interpolation, where we connect different points with straight lines? - DSPCS
No, it is not interpolation - Sardar Usama
I'm not sure if you are aware of the difference between the term interpolation (which always returns discrete points) and line, which is either a visualization element or an analytical description of the same (remember that two points define a line... so there is no interpolation...) - max
I have updated my question, please kindly consider now - DSPCS

1 Answers

2
votes

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.