MATLAB xlswrite function
Show older comments
Hello all MATLAB users:
This came to my attention,
>> x = [inf 3 4 inf];
>> xlswrite('test',x,'test');
if you open the .xls file you will notice that the inf value in xls is the "magic" number 65535.
Does anyone know the reason?
Accepted Answer
More Answers (2)
Kenneth Eaton
on 28 Jan 2011
1 vote
Excerpt:
- Excel converts Inf values to 65535. MATLAB converts NaN values to empty cells.
Stavros
on 29 Jan 2011
0 votes
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!