In this example, you use the forward slash (/) operator to perform right matrix division on a 3-by-3 magic square of fi objects. Because the numerator input is a fi object, the denominator input b must be a scalar.

Numerator, specified as a scalar, vector, matrix, or multidimensional array. If one
or both of the inputs is a fi object, then b
must be a scalar. When b is a scalar, mrdivide
is equivalent to rdivide.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | fi Complex Number Support: Yes

Denominator, specified as a real scalar, vector, matrix, or multidimensional array.
If one or both of the inputs is a fi object, then
b must be a scalar. When b is a scalar,
mrdivide is equivalent to rdivide.

If neither input is a fi object, then the sizes of the input
matrices must be compatible for matrix division.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64 | logical | fi

Solution, returned as an array with the same dimensions as the numerator input
A. When A is complex, the real and imaginary
parts of A are independently divided by b.

Extended Capabilities

C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.