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 계정에 로그인하거나 계정을 새로 만드십시오.