Stuart’s MATLAB Videos

Watch and Learn

Using and removing NaN in MATLAB plots

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.

  • print


要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。