一、常见大数显示形式
matlab会自动将特别大的数字,采用科学计数法显示。
bigNum =1234567890000000000000

二、显示大数所有位数
这里采用的是将数字转为字符,并用定点表示
bigNum =1234567890000000000000;
bigNumstr = num2str(bigNum, '%.0f'); % 使用num2str将数字转换为定点表示形式
disp(bigNumstr);

matlab会自动将特别大的数字,采用科学计数法显示。
bigNum =1234567890000000000000
这里采用的是将数字转为字符,并用定点表示
bigNum =1234567890000000000000;
bigNumstr = num2str(bigNum, '%.0f'); % 使用num2str将数字转换为定点表示形式
disp(bigNumstr);