QUBStudent
Computer
- Apr 12, 2006
- 1
Hey guys,
I've hopefully got a problem that easy to solve. I'm using Matlab 7.2. I've a program that puts certain information into a 4-dimensional array.
Now when I used to type in the command window the array name, it'll print it all out like this (this is showing only first section. also shows arrayName
,:,2&3&4) )
arrayName
,:,1) =
Columns 1 through 5
1.0000 1.0000 1.0000 1.0000 1.0000
Columns 6 through 10
2.0000 2.0000
However now it is adding trailing zeros like this
arrayName
,:,1) =
Columns 1 through 5
1.0000 1.0000 1.0000 1.0000 1.0000
Columns 6 through 10
2.0000 2.0000 0 0 0
I know it sounds stupid but its very important that they aren't there.
Can anyone help me out ? Is there a setting buried somewhere that will stop it outputting like this ?
Any advice and information appreciated,
Thanks.
I've hopefully got a problem that easy to solve. I'm using Matlab 7.2. I've a program that puts certain information into a 4-dimensional array.
Now when I used to type in the command window the array name, it'll print it all out like this (this is showing only first section. also shows arrayName
arrayName
Columns 1 through 5
1.0000 1.0000 1.0000 1.0000 1.0000
Columns 6 through 10
2.0000 2.0000
However now it is adding trailing zeros like this
arrayName
Columns 1 through 5
1.0000 1.0000 1.0000 1.0000 1.0000
Columns 6 through 10
2.0000 2.0000 0 0 0
I know it sounds stupid but its very important that they aren't there.
Can anyone help me out ? Is there a setting buried somewhere that will stop it outputting like this ?
Any advice and information appreciated,
Thanks.