MATLAB: Unfamiliar Vector Index Notation vector indexing I recently encountered code that addresses a vector as V(a:b:c). Not sure what this does. I am used to V(a:b). Best Answer See Matrix Indexing in MATLAB. Related SolutionsMATLAB: Notation Then somefunction.m does not take input arguments for example:function x = somefunctionx = 2;endif you callx = somefunction()you get x = 2you can also just enterx = somefunction; MATLAB: Selcting elements of a vector with index NOT in a specified index vector A(setdiff(1:numel(A),index)) Related QuestionIndexing definite Summation notationSelecting elements of logically pruned vector (concatenating indices)Scientific notationExtract elements and build the remain vector
Best Answer