Home > Software engineering >  The matlab data type conversion
The matlab data type conversion

Time:11-17

Consult everybody, how to convert matlab data type (small white doubts) I do a optimization modeling topic how to convert the answer to the integer
PS: I am the most optimal solution will take the whole rather than to get the optimal solution for both integer is error,

CodePudding user response:

Int () according to the number line down integer
CInt () round, taking a recent integer
Fix () in any case, only collect the integer part
  • Related