Replace NaN value to blank in excel

조회 수: 4 (최근 30일)
joo tan
joo tan 2012년 10월 19일
I have excel file with 3 column. The third column has NaN value. i need to replace the NaN value to blank...I not familiar with using excel in matlab .Can help me?

답변 (2개)

Sachin Ganjare
Sachin Ganjare 2012년 10월 19일
I think this what you need:
Hope it helps!!
  댓글 수: 2
Sachin Ganjare
Sachin Ganjare 2012년 10월 19일
This script will perform required operations.
For Example:
Data = readfromexcel(File,'All');
Data = cellNaNReplace (Data,0);
Sachin Ganjare
Sachin Ganjare 2012년 10월 19일

댓글을 달려면 로그인하십시오.


Azzi Abdelmalek
Azzi Abdelmalek 2012년 10월 19일
num=xlsread('YourFileName.xls');
num(:,3)=[]

카테고리

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