z****u 发帖数: 23 | 1 Hi, every bull man. I have a simple problem for you guys.
All the issue starts with saving data in Excel. I made a loop and at the end
write a group of data into the Excel file columnly. Of course, I don't
wanna overwrite existing data. So I need to tell it which column to write, e
.g., 'A' or 'B' etc. So I have to be able to transfer integer into character
'A', 'B' etc, right? I tried to run 'A'+1-1 and got 65, so it seems 'A' is
mapped uniquely to the int 65. So is there a function to transfer | z****u 发帖数: 23 | 2 用中文再写一遍。
请问Matlab什么函数可以把'A'变成65,或者把65变成'A'?
多谢多谢! | z****u 发帖数: 23 | 3 I found them.
char(65)='A'
double('A')=65
Thanks anyway. |
|