Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
17
Добавлен:
09.02.2015
Размер:
245.25 Кб
Скачать

It may be replaced by a semicolon to suppress printing.

; Semicolon. The semicolon is used inside brackets to indicate

the ends of the rows of a matrix. It is also used after an

expression or statement to suppress printing.

% Percent. The percent symbol is used to begin comments.

Logically, it serves as an end-of-line character. Any

following text on the line is ignored or printed by the

HELP system.

%{ Percent-OpenBrace. This symbol begins a block comment. Use this

symbol to enter a multiline comment. MATLAB ignores everything

within a block comment during execution including any program code.

The %{ symbol must appear alone on the line that precedes the comment.

You can also use block comments to comment out code in the middle

of a multi-line statement. You cannot do this with the single-line

comment operator, %. For example, the statement on the left below

Is valid, while the one on the right is not:

addpath(... addpath( ...

'dir1', ... 'dir1', ...

%{ % 'dir2', ...

'dir2', ... 'dir3'

%} )

'dir3' ...

)

%} Percent-CloseBrace. This symbol ends a block comment. Use this

symbol to enter a multiline comment. MATLAB ignores everything

within a block comment during execution including any program code.

The %} symbol must appear alone on the line that follows the comment.

See the %{ symbol, above.

! Exclamation point. Any text following the '!' is issued

as a command to the underlying computer operating system.

On the PC, adding & to the end of the ! command line, as in

!dir &

causes the output to appear in a separate window and for the window

to remain open after the command completes.

' Transpose. X' is the complex conjugate transpose of X.

X.' is the non-conjugate transpose.

' Quote. 'ANY TEXT' is a vector whose components are the

ASCII codes for the characters. A quote within the text

is indicated by two quotes. For example: 'Don''t forget.'

= Assignment. B = A stores the elements of A in B.

@ At. The at symbol is used to create a function_handle.

It is also used at the beginning of directory names that contain

matlab object methods and the constructor for the object, e.g.

the directory @inline contains the constructor inline.m for the

inline object and all methods for inline objects.

~ The tilde character can be used in function definitions to

represent an input argument that is unused within the function.

It can also be used to indicate that an output argument of a

function call is to ignored. In this case, it must appear

within [ ] and separated by commas from any other arguments.

See also relop, colon, lists, paren, cd, function_handle.

<punct> - Decimal point .

<punct> - Structure field access .

<punct> - Parent directory ..

<punct> - Continuation ...

<punct> - Separator ,

<punct> - Semicolon ;

<punct> - Comment %

<punct> - Invoke operating system command !

<punct> - Assignment =

<punct> - Quote '

<transpose> - Transpose .'

.' Transpose.

X.' is the non-conjugate transpose.

B = TRANSPOSE(A) is called for the syntax A.' when A is an object.

See also ctranspose, permute.

Overloaded methods:

InputOutputModel/transpose

codistributed/transpose

timeseries/transpose

gf/transpose

dynamicsys/transpose

xregpointer/transpose

opcroot/transpose

uss/transpose

umat/transpose

ufrd/transpose

ndlft/transpose

categorical/transpose

Reference page in Help browser

doc transpose

<ctranspose> - Complex conjugate transpose '

' Complex conjugate transpose.

X' is the complex conjugate transpose of X.

B = CTRANSPOSE(A) is called for the syntax A' (complex conjugate

transpose) when A is an object.

See also transpose.

Overloaded methods:

codistributed/ctranspose

timer/ctranspose

serial/ctranspose

timeseries/ctranspose

instrument/ctranspose

gf/ctranspose

daqdevice/ctranspose

daqchild/ctranspose

imaqdevice/ctranspose

imaqchild/ctranspose

icgroup/ctranspose

xregpointer/ctranspose

opcroot/ctranspose

uss/ctranspose

umat/ctranspose

ufrd/ctranspose

ndlft/ctranspose

categorical/ctranspose

laurmat/ctranspose

Reference page in Help browser

doc ctranspose

<horzcat> - Horizontal concatenation [,]

HORZCAT Horizontal concatenation.

[A B] is the horizontal concatenation of matrices A and B. A and B

must have the same number of rows. [A,B] is the same thing. Any

number of matrices can be concatenated within one pair of brackets.

Horizontal and vertical concatenation can be combined together as in

[1 2;3 4].

[A B; C] is allowed if the number of rows of A equals the number of

rows of B and the number of columns of A plus the number of columns

of B equals the number of columns of C. The matrices in a

concatenation expression can themselves by formed via a

concatenation as in [A B;[C D]]. These rules generalize in a

hopefully obvious way to allow fairly complicated constructions.

N-D arrays are concatenated along the second dimension. The first and

remaining dimensions must match.

C = HORZCAT(A,B) is called for the syntax '[A B]' when A or B is an

object.

Y = HORZCAT(X1,X2,X3,...) is called for the syntax '[X1 X2 X3 ...]'

when any of X1, X2, X3, etc. is an object.

See also vertcat, cat.

Overloaded methods:

InputOutputModel/horzcat

codistributed/horzcat

icgroup/horzcat

inline/horzcat

timer/horzcat

serial/horzcat

memmapfile/horzcat

avifile/horzcat

audiorecorder/horzcat

audioplayer/horzcat

VideoReader/horzcat

tscollection/horzcat

gf/horzcat

dynamicsys/horzcat

fittype/horzcat

dioline/horzcat

digitalio/horzcat

aochannel/horzcat

analogoutput/horzcat

analoginput/horzcat

aichannel/horzcat

fints/horzcat

idss/horzcat

idproc/horzcat

idpoly/horzcat

idmodel/horzcat

idgrey/horzcat

idfrd/horzcat

iddata/horzcat

idarx/horzcat

idnlfun/horzcat

videosource/horzcat

videoinput/horzcat

visa/horzcat

udp/horzcat

tcpip/horzcat

iviconfigurationstore/horzcat

icdevice/horzcat

gpib/horzcat

xregpointer/horzcat

guidarray/horzcat

cgoppoint/horzcat

designdev/horzcat

coninputfactor/horzcat

xregmonitorplotproperties/horzcat

sweepset/horzcat

mpc/horzcat

opcroot/horzcat

uss/horzcat

umat/horzcat

ufrd/horzcat

ndlft/horzcat

icsignal/horzcat

atom/horzcat

sgmltag/horzcat

rptcp/horzcat

ordinal/horzcat

nominal/horzcat

dataset/horzcat

categorical/horzcat

sym/horzcat

laurpoly/horzcat

Reference page in Help browser

doc horzcat

<vertcat> - Vertical concatenation [;]

VERTCAT Vertical concatenation.

[A;B] is the vertical concatenation of matrices A and B. A and B must

have the same number of columns. Any number of matrices can be

concatenated within one pair of brackets. Horizontal and vertical

concatenation can be combined together as in [1 2;3 4].

[A B; C] is allowed if the number of rows of A equals the number of

rows of B and the number of columns of A plus the number of columns

of B equals the number of columns of C. The matrices in a

concatenation expression can themselves by formed via a

concatenation as in [A B;[C D]]. These rules generalize in a

hopefully obvious way to allow fairly complicated constructions.

N-D arrays are concatenated along the first dimension. The remaining

dimensions must match.

C = VERTCAT(A,B) is called for the syntax '[A; B]' when A or B is an

object.

Y = VERTCAT(X1,X2,X3,...) is called for the syntax '[X1; X2; X3; ...]'

when any of X1, X2, X3, etc. is an object.

See also horzcat, cat.

Overloaded methods:

InputOutputModel/vertcat

codistributed/vertcat

icgroup/vertcat

inline/vertcat

timer/vertcat

serial/vertcat

memmapfile/vertcat

avifile/vertcat

audiorecorder/vertcat

audioplayer/vertcat

VideoReader/vertcat

tscollection/vertcat

gf/vertcat

dynamicsys/vertcat

fittype/vertcat

dioline/vertcat

digitalio/vertcat

aochannel/vertcat

analogoutput/vertcat

analoginput/vertcat

aichannel/vertcat

fints/vertcat

idss/vertcat

idproc/vertcat

idpoly/vertcat

idmodel/vertcat

idgrey/vertcat

idfrd/vertcat

iddata/vertcat

idarx/vertcat

idnlfun/vertcat

videosource/vertcat

videoinput/vertcat

visa/vertcat

udp/vertcat

tcpip/vertcat

iviconfigurationstore/vertcat

icdevice/vertcat

gpib/vertcat

xregpointer/vertcat

guidarray/vertcat

cgoppoint/vertcat

coninputfactor/vertcat

xregdataset/vertcat

sweepset/vertcat

mpc/vertcat

opcroot/vertcat

uss/vertcat

umat/vertcat

ufrd/vertcat

ndlft/vertcat

icsignal/vertcat

atom/vertcat

sgmltag/vertcat

ordinal/vertcat

nominal/vertcat

dataset/vertcat

categorical/vertcat

sym/vertcat

laurpoly/vertcat

Reference page in Help browser

doc vertcat

<subsasgn> - Subscripted assignment ( ),{ },.

SUBSASGN Subscripted assignment.

A(I) = B assigns the values of B into the elements of A specified by

the subscript vector I. B must have the same number of elements as I

or be a scalar.

A(I,J) = B assigns the values of B into the elements of the rectangular

submatrix of A specified by the subscript vectors I and J. A colon used as

a subscript, as in A(I,:) = B, indicates all columns of those rows

indicated by vector I. Similarly, A(:,J) = B means all rows of columns J.

A(I,J,K,...) = B assigns the values of B to the submatrix of A specified

by the subscript vectors I, J, K, etc. A colon used as a subscript, as in

A(I,:,K) = B, indicates the entire dimension.

For both A(I,J) = B and the more general multi-dimensional

A(I,J,K,...) = B, B must be LENGTH(I)-by-LENGTH(J)-by-LENGTH(K)-... , or

be shiftable to that size by adding or removing singleton dimensions, or

contain a scalar, in which case its value is replicated to form a matrix

of that size.

A{I} = B when A is a cell array and I is a scalar places a copy of

the array B into the specified cell of A. If I has more than one

element, this expression is an error. Use [A{I}] = DEAL(B) to place

copies of B into multiple cells of A. Multiple subscripts that

specify a scalar element, as in A{3,4} = magic(3), also work.

A(I).field = B when A is a structure array and I is a scalar places

a copy of the array B into the field with the name 'field'. If I

has more than one element, this expression is an error. Use

[A(I).field] = DEAL(B) to place copies of B into multiple elements

of A. If A is a 1-by-1 structure array, then the subscript can be

dropped. In this case, A.field = B is the same as A(1).field = B.

A = SUBSASGN(A,S,B) is called for the syntax A(I)=B, A{I}=B, or

A.I=B when A is an object. S is a structure array with the fields:

type -- string containing '()', '{}', or '.' specifying the

subscript type.

subs -- Cell array or string containing the actual subscripts.

For instance, the syntax A(1:2,:)=B calls A=SUBSASGN(A,S,B) where

S is a 1-by-1 structure with S.type='()' and S.subs = {1:2,':'}. A

colon used as a subscript is passed as the string ':'.

Similarly, the syntax A{1:2}=B invokes A=SUBSASGN(A,S,B) where

S.type='{}' and the syntax A.field=B invokes SUBSASGN(A,S,B) where

S.type='.' and S.subs='field'.

These simple calls are combined in a straightforward way for

more complicated subscripting expressions. In such cases

length(S) is the number of subscripting levels. For instance,

A(1,2).name(3:5)=B invokes A=SUBSASGN(A,S,B) where S is 3-by-1

structure array with the following values:

S(1).type='()' S(2).type='.' S(3).type='()'

S(1).subs={1,2} S(2).subs='name' S(3).subs={3:5}

See also subsref, substruct, paren, subsindex, lists.

Overloaded methods:

InputOutputModel/subsasgn

codistributed/subsasgn

icgroup/subsasgn

scribehgobj/subsasgn

scribehandle/subsasgn

hgbin/subsasgn

figobj/subsasgn

fighandle/subsasgn

axistext/subsasgn

axisobj/subsasgn

timer/subsasgn

serial/subsasgn

memmapfile/subsasgn

avifile/subsasgn

audiorecorder/subsasgn

audioplayer/subsasgn

tscollection/subsasgn

instrument/subsasgn

gf/subsasgn

dynamicsys/subsasgn

sfit/subsasgn

fittype/subsasgn

cfit/subsasgn

dioline/subsasgn

daqdevice/subsasgn

aochannel/subsasgn

aichannel/subsasgn

database/subsasgn

cursor/subsasgn

distributed/subsasgn

Composite/subsasgn

sdemrd/subsasgn

hwv/subsasgn

heston/subsasgn

cir/subsasgn

bm/subsasgn

qfft/subsasgn

sdeld/subsasgn

sdeddo/subsasgn

sde/subsasgn

gbm/subsasgn

drift/subsasgn

diffusion/subsasgn

cev/subsasgn

fints/subsasgn

rptfpmethods/subsasgn

cfp_summ_table/subsasgn

cfp_options/subsasgn

cfp_blk_proptable/subsasgn

cfp_blk_loop/subsasgn

idss/subsasgn

idproc/subsasgn

idpoly/subsasgn

idmodel/subsasgn

idgrey/subsasgn

idfrd/subsasgn

iddata/subsasgn

idarx/subsasgn

idnlmodel/subsasgn

idnlgrey/subsasgn

imaqdevice/subsasgn

imaqchild/subsasgn

iviconfigurationstore/subsasgn

xregpointer/subsasgn

guidarray/subsasgn

xregdesign/subsasgn

designdev/subsasgn

coninputfactor/subsasgn

xregtable/subsasgn

roller/subsasgn

mvgraph4d/subsasgn

mvgraph3d/subsasgn

mvgraph2d/subsasgn

mvgraph1d/subsasgn

listitemselector/subsasgn

xregmonitorplotproperties/subsasgn

sweepsetfilter/subsasgn

sweepset/subsasgn

cvtest/subsasgn

cvdata/subsasgn

mpcsimopt/subsasgn

mpc/subsasgn

network/subsasgn

opcroot/subsasgn

gsref/subsasgn

sgmltag/subsasgn

rptcp/subsasgn

rptcomponent/subsasgn

coutline/subsasgn

zhgmethods/subsasgn

rptsp/subsasgn

rptsetupfile/subsasgn

rptgui/subsasgn

rpt_summ_table/subsasgn

crgtds/subsasgn

crgnestset/subsasgn

crgempty/subsasgn

crg_import_file/subsasgn

crg_halt_gen/subsasgn

crg_comment/subsasgn

cmlwhos/subsasgn

cmlvariable/subsasgn

cmleval/subsasgn

cml_ver/subsasgn

clothen/subsasgn

cloif/subsasgn

clofor/subsasgn

cloelseif/subsasgn

cloelse/subsasgn

clo_while/subsasgn

chgproperty/subsasgn

chgobjname/subsasgn

chgfigsnap/subsasgn

chgfigproptable/subsasgn

chgfigloop/subsasgn

cfrtext/subsasgn

cfrsection/subsasgn

cfrparagraph/subsasgn

cfrlist/subsasgn

cfrlink/subsasgn

cfrimage/subsasgn

cfrheader/subsasgn

cfrcelltable/subsasgn

cfr_titlepage/subsasgn

zslmethods/subsasgn

zsfmethods/subsasgn

cslsysname/subsasgn

cslsyslist/subsasgn

cslsortblocklist/subsasgn

cslsnapshot/subsasgn

cslsim/subsasgn

cslscopesnap/subsasgn

cslproperty/subsasgn

csllinktarget/subsasgn

cslfilter/subsasgn

cslblockcount/subsasgn

csl_variables/subsasgn

csl_sys_proptable/subsasgn

csl_sys_loop/subsasgn

csl_summ_table/subsasgn

csl_sig_proptable/subsasgn

csl_sig_loop/subsasgn

csl_mdl_proptable/subsasgn

csl_mdl_loop/subsasgn

csl_mdl_changelog/subsasgn

csl_functions/subsasgn

csl_blk_proptable/subsasgn

csl_blk_loop/subsasgn

csl_blk_lookup/subsasgn

csl_blk_doc/subsasgn

csl_blk_bus/subsasgn

csl_blk_autotable/subsasgn

csfobjname/subsasgn

csflinktarget/subsasgn

csf_truthtable/subsasgn

csf_summ_table/subsasgn

csf_snapshot/subsasgn

csf_prop_table/subsasgn

csf_obj_report/subsasgn

csf_hier_loop/subsasgn

csf_chart_loop/subsasgn

fdspec/subsasgn

fdmeas/subsasgn

fdline/subsasgn

fdax/subsasgn

dataset/subsasgn

categorical/subsasgn

vrworld/subsasgn

vrnode/subsasgn

piecewisedistribution/subsasgn

gmdistribution/subsasgn

classregtree/subsasgn

NaiveBayes/subsasgn

laurmat/subsasgn

Reference page in Help browser

doc subsasgn

<subsref> - Subscripted reference ( ),{ },.

SUBSREF Subscripted reference.

A(I) is an array formed from the elements of A specified by the

subscript vector I. The resulting array is the same size as I except

for the special case where A and I are both vectors. In this case,

A(I) has the same number of elements as I but has the orientation of A.

A(I,J) is an array formed from the elements of the rectangular

submatrix of A specified by the subscript vectors I and J. The

resulting array has LENGTH(I) rows and LENGTH(J) columns. A colon used

as a subscript, as in A(I,:), indicates all columns of those rows

indicated by vector I. Similarly, A(:,J) = B means all rows of columns

J.

For multi-dimensional arrays, A(I,J,K,...) is the subarray specified

by the subscripts. The result is LENGTH(I)-by-LENGTH(J)-by-LENGTH(K)-...

A{I} when A is a cell array and I is a scalar is a copy of

the array in the specified cell of A. If I has more than one

element, this expression is a comma separated list (see LISTS).

Multiple subscripts that specify a scalar element, as in A{3,4}, also

work.

A(I).field when A is a structure array and I is a scalar is a copy of

the array in the field with the name 'field'. If I has more than one

element, this expression is a comma separated list. If A is a 1-by-1

structure array, then the subscript can be dropped. In this case,

A.field is the same as A(1).field.

B = SUBSREF(A,S) is called for the syntax A(I), A{I}, or A.I

when A is an object. S is a structure array with the fields:

type -- string containing '()', '{}', or '.' specifying the

subscript type.

subs -- Cell array or string containing the actual subscripts.

For instance, the syntax A(1:2,:) invokes SUBSREF(A,S) where S is a

1-by-1 structure with S.type='()' and S.subs = {1:2,':'}. A colon

used as a subscript is passed as the string ':'.

Similarly, the syntax A{1:2} invokes SUBSREF(A,S) where S.type='{}'

and the syntax A.field invokes SUBSREF(A,S) where S.type='.' and

S.subs='field'.

These simple calls are combined in a straightforward way for

more complicated subscripting expressions. In such cases

length(S) is the number of subscripting levels. For instance,

A(1,2).name(3:5) invokes SUBSREF(A,S) where S is 3-by-1 structure

array with the following values:

S(1).type='()' S(2).type='.' S(3).type='()'

S(1).subs={1,2} S(2).subs='name' S(3).subs={3:5}

See also subsasgn, substruct, paren, subsindex, lists.

Overloaded methods:

InputOutputModel/subsref

codistributed/subsref

icgroup/subsref

inline/subsref

scribehgobj/subsref

scribehandle/subsref

hgbin/subsref

figobj/subsref

fighandle/subsref

axistext/subsref

axisobj/subsref

printtemplate/subsref

timer/subsref

serial/subsref

memmapfile/subsref

avifile/subsref

audiorecorder/subsref

audioplayer/subsref

tscollection/subsref

instrument/subsref

BioSeq/subsref

BioMap/subsref

gf/subsref

dynamicsys/subsref

sfit/subsref

fittype/subsref

cfit/subsref

dioline/subsref

daqdevice/subsref

aochannel/subsref

aichannel/subsref

dbtbx/subsref

database/subsref

cursor/subsref

yahoo/subsref

rdth/subsref

kx/subsref

idc/subsref

datastream/subsref

blp/subsref

bloomberg/subsref

distributed/subsref

Composite/subsref

qfft/subsref

drift/subsref

diffusion/subsref

fints/subsref

rptfpmethods/subsref

cfp_summ_table/subsref

cfp_options/subsref

cfp_blk_proptable/subsref

cfp_blk_loop/subsref

idss/subsref

idproc/subsref

idpoly/subsref

idmodel/subsref

idgrey/subsref

idfrd/subsref

iddata/subsref

idarx/subsref

idnlmodel/subsref

idnlgrey/subsref

imaqdevice/subsref

imaqchild/subsref

iviconfigurationstore/subsref

xregpointer/subsref

guidarray/subsref

cgprojconnections/subsref

cgoppoint/subsref

xregdesign/subsref

designdev/subsref

coninputfactor/subsref

xregtable/subsref

roller/subsref

mvgraph4d/subsref

mvgraph3d/subsref

mvgraph2d/subsref

mvgraph1d/subsref

listitemselector/subsref

xregmodel/subsref

xregexportmodel/subsref

xregmonitorplotproperties/subsref

xregdataset/subsref

testplansweepsetfilter/subsref

sweepsetfilter/subsref

sweepset/subsref

cvtest/subsref

cvdata/subsref

mpcsimopt/subsref

mpc/subsref

network/subsref

opcroot/subsref

gsref/subsref

sgmltag/subsref

rptcp/subsref

rptcomponent/subsref

coutline/subsref

zhgmethods/subsref

rptsp/subsref

rptsetupfile/subsref

rptgui/subsref

rpt_summ_table/subsref

crgtds/subsref

crgnestset/subsref

crgempty/subsref

crg_import_file/subsref

crg_halt_gen/subsref

crg_comment/subsref

cmlwhos/subsref

cmlvariable/subsref

cmleval/subsref

cml_ver/subsref

clothen/subsref

cloif/subsref

clofor/subsref

cloelseif/subsref

cloelse/subsref

clo_while/subsref

chgproperty/subsref

chgobjname/subsref

chgfigsnap/subsref

chgfigproptable/subsref

chgfigloop/subsref

cfrtext/subsref

cfrsection/subsref

cfrparagraph/subsref

cfrlist/subsref

cfrlink/subsref

cfrimage/subsref

cfrheader/subsref

cfrcelltable/subsref

cfr_titlepage/subsref

zslmethods/subsref

zsfmethods/subsref

cslsysname/subsref

cslsyslist/subsref

cslsortblocklist/subsref

cslsnapshot/subsref

cslsim/subsref

cslscopesnap/subsref

cslproperty/subsref

csllinktarget/subsref

cslfilter/subsref

cslblockcount/subsref

csl_variables/subsref

csl_sys_proptable/subsref

csl_sys_loop/subsref

csl_summ_table/subsref

csl_sig_proptable/subsref

csl_sig_loop/subsref

csl_mdl_proptable/subsref

csl_mdl_loop/subsref

csl_mdl_changelog/subsref

csl_functions/subsref

csl_blk_proptable/subsref

csl_blk_loop/subsref

csl_blk_lookup/subsref

csl_blk_doc/subsref

csl_blk_bus/subsref

csl_blk_autotable/subsref

csfobjname/subsref

csflinktarget/subsref

csf_truthtable/subsref

csf_summ_table/subsref

csf_snapshot/subsref

csf_prop_table/subsref

csf_obj_report/subsref

csf_hier_loop/subsref

csf_chart_loop/subsref

fdspec/subsref

fdmeas/subsref

fdline/subsref

fdax/subsref

dataset/subsref

categorical/subsref

vrworld/subsref

vrnode/subsref

piecewisedistribution/subsref

paretotails/subsref

gmdistribution/subsref

classregtree/subsref

ProbDistUnivParam/subsref

NaiveBayes/subsref

laurmat/subsref

Reference page in Help browser

doc subsref

<subsindex> - Subscript index

SUBSINDEX Subscript index.

I = SUBSINDEX(A) is called for the syntax 'X(A)' when A is an

object and X is one of the built-in types (most commonly

'double'). SUBSINDEX must return the value of the object as a

zero-based integer index (I must contain integer values in the

range 0 to prod(size(X))-1). SUBSINDEX is called by the default

SUBSREF and SUBSASGN functions and you may call it yourself if you

overload these functions.

SUBSINDEX is invoked separately on all the subscripts in an

expression such as X(A,B).

See also subsref, subsasgn.

Overloaded methods:

codistributed/subsindex

testplansweepsetfilter/subsindex

categorical/subsindex

Reference page in Help browser

doc subsindex

<metaclass> - Metaclass for MATLAB class ?

? METACLASS Return META.CLASS object

MC = METACLASS(OBJECT) returns the META.CLASS object for the class

of OBJECT. OBJECT can be either a scalar object or an array of

objects, but the returned object is always the scalar META.CLASS for

the class of OBJECT.

MC = ? CLASSNAME will retrieve the META.CLASS object for the class

with name CLASSNAME. The ? syntax works only with a class name and

not with a class instance.

Examples:

%Example 1: Retrieve the meta-class for class inputParser

?inputParser

%Example 2: Retrieve the meta-class for an instance of class MException

obj = MException('Msg:ID','MsgTxt');

mc = metaclass(obj);

See also meta.class, meta.class/fromName, classdef.

Reference page in Help browser

doc metaclass

Bitwise operators.

<bitand> - Bit-wise AND.

BITAND Bit-wise AND.

C = BITAND(A,B) returns the bitwise AND of arguments A and B,

where A and B are unsigned integers or arrays of unsigned integers.

Example:

Create a truth table:

A = uint8([0 1; 0 1])

B = uint8([0 0; 1 1])

TT = bitand(A,B)

See also bitor, bitxor, bitcmp, bitshift, bitset, bitget, intmax.

Overloaded methods:

codistributed/bitand

Reference page in Help browser

doc bitand

<bitcmp> - Complement bits.

BITCMP Complement bits.

C = BITCMP(A) returns the bitwise complement of A, where A is an unsigned

Соседние файлы в папке Библиотеки Matlab