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

42.86% Correct | 57.14% Incorrect
Last Solution submitted on Apr 29, 2025

Problem Comments

Solution Comments

Show comments

Group

Programování - Cody Image
Programování - Cody
  • 12 Problems
  • 526 Finishers

Problem Recent Solvers170

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