matlab常用函数之solve
solveCharacter vector inputs have been removed. Instead, use syms to declare variables and replace inputs such as solve(‘2x == 1’,’x’) with solve(2x =
...
matlab常用函数之rem
rem
调用格式:r = rem(a,b)
r = rem(a,b)返回a除以b后的余数,其中a为被除数,b为除数。这个操作在概念上等于r = a - b.*fix(a./b),它使用与mod函数不同的舍入。rem函数遵循rem(a,0)为NaN的约定。
例题:
12345a = 1:5;b = 3
...