代码搜索:Built-In
找到约 2,787 项符合「Built-In」的源代码
代码结果 2,787
www.eeworm.com/read/201342/15409856
txt 06-46.txt
例6- 46 矩阵的扩充。
>> A1=zeros(2,4)
A1 =
0 0 0 0
0 0 0 0
>> A2=ones(2)
A2 =
1 1
1 1
>> A3=ones(1,2)
A3 =
1 1
>> A4=zeros(1,2)
A4 =
www.eeworm.com/read/389692/8507231
m fuzblockmask.m
function fis = fuzblockmask(CB,fis)
%FUZBLOCKMASK Initialize Mask for Fuzzy block.
%
% This function is meant to be called by the Fuzzy Block mask.
%
% See also FUZBLOCK.
% Authors: P. Ga
www.eeworm.com/read/432289/8613271
cpp constval.cpp
//: C08:Constval.cpp
// From Thinking in C++, 2nd Edition
// at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Returning consts by value
// has no mean
www.eeworm.com/read/427909/8913177
m mysize.m
function sz = mysize(M)
% MYSIZE Like the built-in size, except it returns n if M is a vector of length n, and 1 if M is a scalar.
% sz = mysize(M)
%
% The behavior is best explained by examples
www.eeworm.com/read/427909/8913364
m isemptycell.m
function E = isemptycell(C)
% ISEMPTYCELL Apply the isempty function to each element of a cell array
% E = isemptycell(C)
%
% This is equivalent to E = cellfun('isempty', C),
% where cellfun is a
www.eeworm.com/read/427909/8913370
m myones.m
function T = myones(sizes)
% MYONES Like the built-in ones, except myones(k) produces a k*1 vector instead of a k*k matrix,
% T = myones(sizes)
if length(sizes)==0
T = 1;
elseif length(sizes)
www.eeworm.com/read/427909/8913413
m myrand.m
function T = myrand(sizes)
% MYRAND Like the built-in rand, except myrand(k) produces a k*1 vector instead of a k*k matrix,
% T = myrand(sizes)
if length(sizes)==0
warning('myrand[]');
T =
www.eeworm.com/read/427909/8913430
m myreshape.m
function T = myreshape(T, sizes)
% MYRESHAPE Like the built-in reshape, except myreshape(T,n) == reshape(T,[n 1])
% T = myreshape(T, sizes)
if length(sizes)==0
return;
elseif length(sizes)==1
www.eeworm.com/read/427909/8913607
m myismember.m
function p = myismember(a,A)
% MYISMEMBER Is 'a' an element of a set of positive integers? (much faster than built-in ismember)
% p = myismember(a,A)
%if isempty(A) | a < min(A) | a > max(A) % s
www.eeworm.com/read/427909/8913714
m myrepmat.m
function T = myrepmat(T, sizes)
% MYREPMAT Like the built-in repmat, except myrepmat(T,n) == repmat(T,[n 1])
% T = myrepmat(T, sizes)
if length(sizes)==1
T = repmat(T, [sizes 1]);
else
T =