Using and Removing NaN in MATLAB Plots - MATLAB
Video Player is loading.
Current Time 0:00
Duration 2:36
Loaded: 6.39%
Stream Type LIVE
Remaining Time 2:36
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected
    Video length is 2:36

    Using and Removing NaN in MATLAB Plots

    (Originally posted on Doug's MATLAB Video Tutorials blog.)

    This is a quick technique that came out of the series we have been doing about the cryptography algorithm. If you have NaN ("Not A Number") in your data, MATLAB will ignore them in a plot. If this is what you want, that is great. If it is not, you will need to remove them. A technique for removing them from your vector is shown here. The technique would work for other data you want to remove also.

    Recorded: 31 Aug 2012

    Related Products