About 47,000 results
Open links in new tab
  1. mod - Remainder after division (modulo operation) - MATLAB

    This MATLAB function returns the remainder after division of a by m, where a is the dividend and m is the divisor.

  2. mod - Symbolic modulus after division - MATLAB - MathWorks

    For vectors and matrices, mod finds the modulus after division element-wise. When both arguments are nonscalar, they must have the same size. If one argument is a scalar, the mod …

  3. rem - Remainder after division - MATLAB - MathWorks

    This MATLAB function returns the remainder after division of a by b, where a is the dividend and b is the divisor.

  4. Odd and even numbers - MATLAB Answers - MATLAB Central

    Aug 17, 2024 · Hi I'm new in matlab so i need a little help to get started. How do i make a program which can distinguish from odd and even numbers? I know that i need to make a loop, it …

  5. mod - Modulus after division for fi objects - MATLAB - MathWorks

    Algorithms mod(x,y) for a fi object uses the same definition as the built-in MATLAB ® mod function.

  6. Difference between mod and rem functions - MATLAB Answers

    Jun 4, 2018 · The outputs of rem and mod are the same if the inputs have the same sign, otherwise it depends on how the division is interpreted. The MATLAB documentation states …

  7. inverse of mod function - MATLAB Answers - MATLAB Central

    Jan 7, 2019 · If your modulus is 256, then ALL even numbers have no modular inverse, but all odd integers DO have a modular inverse, and that inverse is unique within the group of …

  8. how to calculate inverse of modulus function - MATLAB Answers

    Jan 7, 2022 · The modular inverse you desire exists as long as a and N are relatively prime. If not, then there is a problem. The trick in MATLAB is to use GCD. For example, suppose we wish to …

  9. powermod - Modular exponentiation - MATLAB - MathWorks

    This MATLAB function returns the modular exponentiation ab mod m.

  10. Mod or Modulus operator in MATLAB - MathWorks

    Feb 9, 2024 · Be careful, as if you look for mod or modulus, you will often see the functions mod or rem, which essentially compute a remainder after division. My guess is, you were searching …