Tagged: inf

Controlling Command Window Input and Output

The format Function The format function controls the numeric format of the values displayed. The function affects only how numbers are displayed, not how MATLAB software computes or saves them. Here are the different...

idivide

idivide – Integer division with rounding option Syntax C = idivide(A, B, opt) C = idivide(A, B) C = idivide(A, B, ‘fix’) C = idivide(A, B, ’round’) C = idivide(A, B, ‘floor’) C =...

matlab

floor

Matlab Floor Command floor – Round toward negative infinity Syntax B = floor(A) Description B = floor(A) rounds the elements of A to the nearest integers less than or equal to A. For complex...

ver

Matlab Ver Command ver MATLAB, SIMULINK, and TOOLBOX version information. ver displays the current MATLAB and toolbox version numbers. ver(TOOLBOX_DIR) displays the current version information for the toolbox specified by the string TOOLBOX_DIR. For...

Matlab Expressions

Matlab Expressions Variables Like most other programming languages, the MATLAB language provides mathematical expressions, but unlike most programming languages, these expressions involve entire matrices. MATLAB does not require any type declarations or dimension statements....

Desktop Tools

This section provides an introduction to MATLAB’s desktop tools. You can also use MATLAB functions to perform most of the features found in the desktop tools. The tools are: “Command Window” “Command History” “Launch...