how can I delete all value in matrix (for example my matrix include a lot of ' NaN not a number' and i want to delete this)

1 次查看(过去 30 天)
hi every one
my matrix is very size (13*39494) and also including NaN(not a number) value and different where. i want to take a mean my matrix but I can't because of NaN values.
Briefly I want to delete all NaN value of my matrix how can I ?
thanks for answer.

采纳的回答

Stalin Samuel
Stalin Samuel 2015-3-20
MFCCs_Sum(isnan(MFCCs_Sum))=0
or
MFCCs_Sum(isnan(MFCCs_Sum))=[]

更多回答(1 个)

onur erdem korkmaz
onur erdem korkmaz 2015-3-20
Thanks for your answer.
do you know why matrix include NaN value? is it normal ?

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by