I have several matrices, which I want to combine into one big matrix:
robotnumber = 1 2 3 4orientation = -0.0002 179.9671 0.0020 179.9953detection = 1 782 1 782 1 782 1 782detdistance = 0.1533 0.1483 0.1569 0.1647spacer = 0 0 0 0 0 0 0 0 0 0 0 0distance = 0 2.1629 0.9540 3.8822 2.1629 0 1.5346 2.1488 0.9540 1.5346 0 3.5705 3.8822 2.1488 3.5705 0
But, if I try the following code:
Robotinfo = [robotnumber,orientation,detection,detdistance,speed,spacer,distance];
All the data goes, apparently, through an int32 function, resulting in:
Robotinfo =
The workspace also says: Robotinfo 4×14 int32, instead of Robotinfo 4×14 single.
Does anyone know what causes this problem?
Thanks!
Best Answer