Clear Filters
Clear Filters

Removing NAN values from the table and deleting it.

116 views (last 30 days)
Hi
I have a table which is arrranged in susch a waym that it has one row of data and other row which contain NAN and so on, I want to get rid of NAN and aferwards deleting it.
Could you help me with this.

Accepted Answer

madhan ravi
madhan ravi on 17 Nov 2018
Edited: madhan ravi on 17 Nov 2018
rmmissing(T) %deletes row containing nan where T your table
  16 Comments
madhan ravi
madhan ravi on 19 Nov 2018
Thank you sir Walter , have to familiarise with any and all it‘s slightly confusing :)

Sign in to comment.

More Answers (1)

ahmed nebli
ahmed nebli on 17 Nov 2018
use this : (isnan(X)) = [] % X is the table
  5 Comments
Walter Roberson
Walter Roberson on 3 May 2021
not works
Magik 8-Ball says:
Concentrate and ask again

Sign in to comment.

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!