📄 get_qr.m
字号:
function [q, r] = get_qr(x, y)
%----------------------------------------------------------------
% function "get_qr" computes the quotient and the remainder
% when x is divided by y
% i.e. (x = q*y + r)
%----------------------------------------------------------------
q = floor(x/y);
r = mod(x, y);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -