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.33% Correct | 56.67% Incorrect
Last Solution submitted on May 05, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
0
1

Problem Recent Solvers175

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