更新时间:2023-11-26 08:14:04
The 1.0e+004
means 1.0*10^4
.
Casting works using int32(x), depending on your target accuracy you can also use int16(x) or int64(x). Check out the documentation http://www.mathworks.de/help/techdoc/ref/int32.html
Rounding is also done.