You've not showed use the display in question, but more than likely it's simply the Matlab logic to display widely disparate values in an array in a succinct fashion. The internal values (as shown by looking at the individual values as you've done) are not affected; it's only a display artifact.
Example, since we can't see yours specifically--
>> x=[pi*10^6 1];
>> disp(x)
1.0e+06 *
3.1416 0.0000
>> x(1)
ans =
3.1416e+06
>> x(2)
ans =
1
>>
That look similar to your problem? If you have need for a specific format, write the results specifically--
>> fprintf('%.2f %d\n',x)
3141592.65 1
>>
As for the other question, I've no klew what you're asking; can you explain further w/ and example, maybe?
Best Answer