I try to do mod function with symbolic variables. Is there a way to do something like mod(a+b,b)=a which means that the reminder of (a+b) divided by b is a. But MATLAB doesn't allow both the parameters of the mod function be symbolic. Could someone help me?
MATLAB: How to do symbolic mod operation
modulussymbolic
Related Question
- Subs( ) command would not work
- Checking whether a symbolic expression is an equality or inequality
- Weird behavior of modulo function
- How to assign values to variables in sym function in matlab while finding out modulus
- I have a function file, I want to input an array and evaluate each cell in that array. How to alter the function file to do this
Best Answer