rem() function vector or matrix input
3 次查看(过去 30 天)
显示 更早的评论
Write a function to do the MatLab rem() function (remainder of a division) and will work with a vector or matrix input. The function will have two arguments, the vector or matrix variable and the scalar value that will be the divisor. The return will be a similar vector or matrix that will contain the remainder of the division operation. ![Screen Shot 2019-04-28 at 1.34.17 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/217018/Screen%20Shot%202019-04-28%20at%201.34.17%20PM.png)
![Screen Shot 2019-04-28 at 1.34.17 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/217018/Screen%20Shot%202019-04-28%20at%201.34.17%20PM.png)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!