remove every row&col for every nan - MATLAB Cody - MATLAB Central

Problem 44430. remove every row&col for every nan

Difficulty:Rate

for a given matrix, remove the row and column of every nan. Example

x=[1     2   NaN
   4     5     6
   7     8     9]
y= [4     5
    7     8]

Solution Stats

43.09% Correct | 56.91% Incorrect
Last Solution submitted on Mar 03, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
4

Problem Recent Solvers156

Suggested Problems

More from this Author12

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page