matlab除法取余
时间: 2023-09-28 14:06:59 浏览: 666
在Matlab中,可以使用rem函数来进行除法取余操作。rem(x,y)的结果是x-n*y,其中n=fix(x/y)。这意味着rem函数计算的是x除以y所得的余数。如果y不等于0,那么n就是x除以y的整数商。所以,要进行Matlab除法取余操作,可以使用rem函数。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [matlab取整函数与取余函数](https://blog.csdn.net/edward_zcl/article/details/122332765)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [MATLAB求余运算](https://blog.csdn.net/qq_40584593/article/details/89183210)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文