📄 isint.m
字号:
function[b,n]=isint(x)%ISINT Tests if an array is composed of integers.% % B=ISINT(X) returns a boolean array B of the same size as X, with % each element equal to one if the corresponding element of X is an% integer, and zero otherwise.% _________________________________________________________________% This is part of JLAB --- type 'help jlab' for more information % (C) 2001, 2004 J.M. Lilly --- type 'help jlab_license' for detailsresid=x-floor(real(x));b=abs(resid)==0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -