How to use fliplr() In MATLAB
The fliplr() function is used to flip the specified number from left to right.
Syntax: fliplr(num)
Parameters: This function accepts a parameter.
- num: This is the specified number.
Example:
Matlab
% MATLAB code for fliplr() % Calling the fliplr() function % over a number string '123' fliplr( '123' ) |
Output:
ans = 321
How to reverse a number in MATLAB?
In this article, we will discuss the “Reversing of a number” in MATLAB that can be done using the multiple methods which are illustrated below.
Contact Us