la ??? Undefined function or variable 'la'. ls BORUSSIA dilan_thesis.pdf Desktop dilan_thesis.ps ML_Praktikum_U01.ps fig1.eps ML_Praktikum_U02.pdf flatroll.mat Mail func1.m~ Matlab_Crash_Kurs.txt gamma.m T1.txt guide.pdf T1_Mitschnitt.txt hallo.mat T1_Show.txt irb.mat T2.txt irgendwas.mat T2_Mitschnitt.txt learning_biased_sampling.ps T2_Test.ps lib T3 logfile.txt T3_Test.ps matlab T3_Uebung.ps myprod.m T3_Uebung2.ps myprod.m~ TT_DB praktikum Tag1.txt ss08 Tag1_Mitschnitt.txt ss09 bin swissroll.mat convertLabels.m tunet core ws08 covs_rep01.ps www pwd ans = /home/buenau !hostname bonito 1+2 ans = 3 3*4 ans = 12 sin(30) ans = -0.9880 help HELP topics: buenau/matlab - (No table of contents file) matlab/general - General purpose commands. matlab/ops - Operators and special characters. matlab/lang - Programming language constructs. matlab/elmat - Elementary matrices and matrix manipulation. matlab/elfun - Elementary math functions. matlab/specfun - Specialized math functions. matlab/matfun - Matrix functions - numerical linear algebra. matlab/datafun - Data analysis and Fourier transforms. matlab/polyfun - Interpolation and polynomials. matlab/funfun - Function functions and ODE solvers. matlab/sparfun - Sparse matrices. matlab/scribe - Annotation and Plot Editing. matlab/graph2d - Two dimensional graphs. matlab/graph3d - Three dimensional graphs. matlab/specgraph - Specialized graphs. matlab/graphics - Handle Graphics. matlab/uitools - Graphical User Interface Tools. matlab/strfun - Character strings. matlab/imagesci - Image and scientific data input/output. matlab/iofun - File input and output. matlab/audiovideo - Audio and Video support. matlab/timefun - Time and dates. matlab/datatypes - Data types and structures. matlab/verctrl - Version control. matlab/codetools - Commands for creating and debugging code. matlab/helptools - Help commands. matlab/demos - Examples and demonstrations. matlab/timeseries - Time series data visualization and exploration. matlab/hds - (No table of contents file) matlab/guide - Graphical User Interface Tools. matlab/plottools - Graphical User Interface Tools. toolbox/local - General preferences and configuration information. shared/controllib - Control Library simulink/simulink - Simulink simulink/blocks - Simulink block library. simulink/components - Simulink components. simulink/fixedandfloat - Simulink Fixed Point utilities. fixedandfloat/fxpdemos - Simulink Fixed Point Demos fixedandfloat/obsolete - (No table of contents file) simulink/simdemos - Simulink demonstrations and examples. simdemos/aerospace - Simulink: Aerospace model demonstrations and samples. simdemos/automotive - Simulink: Automotive model demonstrations and samples. simdemos/simfeatures - Simulink: Feature demonstrations and samples. simdemos/simgeneral - Simulink: General model demonstrations and samples. simulink/dee - Differential Equation Editor shared/dastudio - (No table of contents file) shared/glue - (No table of contents file) stateflow/stateflow - Stateflow rtw/rtw - (No table of contents file) simulink/modeladvisor - (No table of contents file) modeladvisor/fixpt - (No table of contents file) simulink/MPlayIO - (No table of contents file) simulink/dataobjectwizard - (No table of contents file) shared/fixedpointlib - (No table of contents file) simulink/dataimportexport - (No table of contents file) shared/hdlshared - (No table of contents file) stateflow/sfdemos - Stateflow demonstrations and samples. stateflow/coder - (No table of contents file) eml/eml - (No table of contents file) emlcoder/emlcoder - Embedded MATLAB Coder. emlcoder/emlcodermex - (No table of contents file) fixedpoint/fixedpoint - (No table of contents file) fixedpoint/fidemos - (No table of contents file) images/images - Image Processing Toolbox images/imuitools - Image Processing Toolbox --- imuitools images/imdemos - Image Processing Toolbox --- demos and sample images images/iptutils - Image Processing Toolbox --- utilities shared/imageslib - Image Processing Toolbox Library images/medformats - Image Processing Toolbox --- Medical formats slvnv/simcoverage - (No table of contents file) optim/optim - Optimization Toolbox optim/optimdemos - shared/optimlib - Optimization Toolbox Library signal/signal - Signal Processing Toolbox signal/sigtools - (No table of contents file) signal/sptoolgui - (No table of contents file) signal/sigdemos - (No table of contents file) shared/spcuilib - (No table of contents file) toolbox/stats - Statistics Toolbox vr/vr - (No table of contents file) vr/vrdemos - Virtual Reality Toolbox examples. matlab/work - (No table of contents file) help ops Operators and special characters. Arithmetic operators. plus - Plus + uplus - Unary plus + minus - Minus - uminus - Unary minus - mtimes - Matrix multiply * times - Array multiply .* mpower - Matrix power ^ power - Array power .^ mldivide - Backslash or left matrix divide \ mrdivide - Slash or right matrix divide / ldivide - Left array divide .\ rdivide - Right array divide ./ kron - Kronecker tensor product kron Relational operators. eq - Equal == ne - Not equal ~= lt - Less than < gt - Greater than > le - Less than or equal <= ge - Greater than or equal >= Logical operators. relop - Short-circuit logical AND && relop - Short-circuit logical OR || and - Element-wise logical AND & or - Element-wise logical OR | not - Logical NOT ~ xor - Logical EXCLUSIVE OR any - True if any element of vector is nonzero all - True if all elements of vector are nonzero Special characters. colon - Colon : paren - Parentheses and subscripting ( ) paren - Brackets [ ] paren - Braces and subscripting { } punct - Function handle creation @ 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 .' ctranspose - Complex conjugate transpose ' horzcat - Horizontal concatenation [,] vertcat - Vertical concatenation [;] subsasgn - Subscripted assignment ( ),{ },. subsref - Subscripted reference ( ),{ },. subsindex - Subscript index Bitwise operators. bitand - Bit-wise AND. bitcmp - Complement bits. bitor - Bit-wise OR. bitmax - Maximum floating point integer. bitxor - Bit-wise XOR. bitset - Set bit. bitget - Get bit. bitshift - Bit-wise shift. Set operators. union - Set union. unique - Set unique. intersect - Set intersection. setdiff - Set difference. setxor - Set exclusive-or. ismember - True for set member. See also ARITH, RELOP, SLASH, FUNCTION_HANDLE. 1+2 ans = 3 a = 50; a+3 ans = 53 b = 100; b = 100 b = 100 b = 100; whos Name Size Bytes Class Attributes a 1x1 8 double ans 1x1 8 double b 1x1 8 double save whateverfilename.mat clear load whateverfilename clear whos load whateverfilename whos Name Size Bytes Class Attributes a 1x1 8 double ans 1x1 8 double b 1x1 8 double ls *mat flatroll.mat irb.mat swissroll.mat hallo.mat irgendwas.mat whateverfilename.mat whos Name Size Bytes Class Attributes a 1x1 8 double ans 1x1 8 double b 1x1 8 double a a = 50 a = [ 1 3 4 5 ] a = 1 3 4 5 whos Name Size Bytes Class Attributes a 1x4 32 double ans 1x1 8 double b 1x1 8 double a a = 1 3 4 5 a' ans = 1 3 4 5 a' ans = 1 3 4 5 a(1) ans = 1 a a = 1 3 4 5 a(2) ans = 3 a([1 2]) ans = 1 3 a([1 2 99]) ??? Index exceeds matrix dimensions. 1:10 ans = 1 2 3 4 5 6 7 8 9 10 1:2:10 ans = 1 3 5 7 9 a a = 1 3 4 5 a([2 3 4]) ans = 3 4 5 a(2:4) ans = 3 4 5 a(2:end) ans = 3 4 5 a(1:end) ans = 1 3 4 5 A = [ 5 6 7; 8 6 3; 2 0 3 ] A = 5 6 7 8 6 3 2 0 3 A(1,1) ans = 5 A(2,3) ans = 3 whos Name Size Bytes Class Attributes A 3x3 72 double a 1x4 32 double ans 1x1 8 double b 1x1 8 double A(4,5) ??? Index exceeds matrix dimensions. A(3, 3) ans = 3 A(4) ans = 6 help ind2sub IND2SUB Multiple subscripts from linear index. IND2SUB is used to determine the equivalent subscript values corresponding to a given single index into an array. [I,J] = IND2SUB(SIZ,IND) returns the arrays I and J containing the equivalent row and column subscripts corresponding to the index matrix IND for a matrix of size SIZ. For matrices, [I,J] = IND2SUB(SIZE(A),FIND(A>5)) returns the same values as [I,J] = FIND(A>5). [I1,I2,I3,...,In] = IND2SUB(SIZ,IND) returns N subscript arrays I1,I2,..,In containing the equivalent N-D array subscripts equivalent to IND for an array of size SIZ. Class support for input IND: float: double, single See also SUB2IND, FIND. Reference page in Help browser doc ind2sub help sub2ind SUB2IND Linear index from multiple subscripts. SUB2IND is used to determine the equivalent single index corresponding to a given set of subscript values. IND = SUB2IND(SIZ,I,J) returns the linear index equivalent to the row and column subscripts in the arrays I and J for an matrix of size SIZ. IND = SUB2IND(SIZ,I1,I2,...,IN) returns the linear index equivalent to the N subscripts in the arrays I1,I2,...,IN for an array of size SIZ. I1,I2,...,IN must have the same size, and IND will have the same size as I1,I2,...,IN. For an array A, if IND = SUB2IND(SIZE(A),I1,...,IN)), then A(IND(k))=A(I1(k),...,IN(k)) for all k. Class support for inputs I,J: float: double, single See also IND2SUB. Reference page in Help browser doc sub2ind A A = 5 6 7 8 6 3 2 0 3 A(1,[1 2 3]) ans = 5 6 7 A(1,1:3) ans = 5 6 7 A(1,1:end) ans = 5 6 7 A(1,:) ans = 5 6 7 A(:,4) ??? Index exceeds matrix dimensions. A(:,3) ans = 7 3 3 A(:,[1 2]) ans = 5 6 8 6 2 0 [ A A A ] ans = 5 6 7 5 6 7 5 6 7 8 6 3 8 6 3 8 6 3 2 0 3 2 0 3 2 0 3 [ A; A ;A ] ans = 5 6 7 8 6 3 2 0 3 5 6 7 8 6 3 2 0 3 5 6 7 8 6 3 2 0 3 A(:,2) = A(:,1) A = 5 5 7 8 8 3 2 2 3 A(:,2) = A ??? Subscripted assignment dimension mismatch. help repmat REPMAT Replicate and tile an array. B = repmat(A,M,N) creates a large matrix B consisting of an M-by-N tiling of copies of A. The size of B is [size(A,1)*M, size(A,2)*N]. The statement repmat(A,N) creates an N-by-N tiling. B = REPMAT(A,[M N]) accomplishes the same result as repmat(A,M,N). B = REPMAT(A,[M N P ...]) tiles the array A to produce a multidimensional array B composed of copies of A. The size of B is [size(A,1)*M, size(A,2)*N, size(A,3)*P, ...]. REPMAT(A,M,N) when A is a scalar is commonly used to produce an M-by-N matrix filled with A's value and having A's CLASS. For certain values, you may achieve the same results using other functions. Namely, REPMAT(NAN,M,N) is the same as NAN(M,N) REPMAT(SINGLE(INF),M,N) is the same as INF(M,N,'single') REPMAT(INT8(0),M,N) is the same as ZEROS(M,N,'int8') REPMAT(UINT32(1),M,N) is the same as ONES(M,N,'uint32') REPMAT(EPS,M,N) is the same as EPS(ONES(M,N)) Example: repmat(magic(2), 2, 3) repmat(uint8(5), 2, 3) Class support for input A: float: double, single See also BSXFUN, MESHGRID, ONES, ZEROS, NAN, INF. Overloaded functions or methods (ones with the same name in other directories) help categorical/repmat.m Reference page in Help browser doc repmat [ A; A ;A ] ans = 5 5 7 8 8 3 2 2 3 5 5 7 8 8 3 2 2 3 5 5 7 8 8 3 2 2 3 repmat(A, [ 3 1 ]) ans = 5 5 7 8 8 3 2 2 3 5 5 7 8 8 3 2 2 3 5 5 7 8 8 3 2 2 3 A*A ans = 79 79 71 110 110 89 32 32 29 5*A ans = 25 25 35 40 40 15 10 10 15 A A = 5 5 7 8 8 3 2 2 3 A > 2 ans = 1 1 1 1 1 1 0 0 1 find(A > 2) ans = 1 2 4 5 7 8 9 find(A > 2) = -1 find = -1 -1 0 -1 -1 0 -1 -1 -1 A(find(A > 2)) = -1 ??? Subscript indices must either be real positive integers or logicals. find(A>2) ans = -1 -1 -1 -1 -1 -1 -1 hel ??? Undefined function or variable 'hel'. help HELP topics: buenau/matlab - (No table of contents file) matlab/general - General purpose commands. matlab/ops - Operators and special characters. matlab/lang - Programming language constructs. matlab/elmat - Elementary matrices and matrix manipulation. matlab/elfun - Elementary math functions. matlab/specfun - Specialized math functions. matlab/matfun - Matrix functions - numerical linear algebra. matlab/datafun - Data analysis and Fourier transforms. matlab/polyfun - Interpolation and polynomials. matlab/funfun - Function functions and ODE solvers. matlab/sparfun - Sparse matrices. matlab/scribe - Annotation and Plot Editing. matlab/graph2d - Two dimensional graphs. matlab/graph3d - Three dimensional graphs. matlab/specgraph - Specialized graphs. matlab/graphics - Handle Graphics. matlab/uitools - Graphical User Interface Tools. matlab/strfun - Character strings. matlab/imagesci - Image and scientific data input/output. matlab/iofun - File input and output. matlab/audiovideo - Audio and Video support. matlab/timefun - Time and dates. matlab/datatypes - Data types and structures. matlab/verctrl - Version control. matlab/codetools - Commands for creating and debugging code. matlab/helptools - Help commands. matlab/demos - Examples and demonstrations. matlab/timeseries - Time series data visualization and exploration. matlab/hds - (No table of contents file) matlab/guide - Graphical User Interface Tools. matlab/plottools - Graphical User Interface Tools. toolbox/local - General preferences and configuration information. shared/controllib - Control Library simulink/simulink - Simulink simulink/blocks - Simulink block library. simulink/components - Simulink components. simulink/fixedandfloat - Simulink Fixed Point utilities. fixedandfloat/fxpdemos - Simulink Fixed Point Demos fixedandfloat/obsolete - (No table of contents file) simulink/simdemos - Simulink demonstrations and examples. simdemos/aerospace - Simulink: Aerospace model demonstrations and samples. simdemos/automotive - Simulink: Automotive model demonstrations and samples. simdemos/simfeatures - Simulink: Feature demonstrations and samples. simdemos/simgeneral - Simulink: General model demonstrations and samples. simulink/dee - Differential Equation Editor shared/dastudio - (No table of contents file) shared/glue - (No table of contents file) stateflow/stateflow - Stateflow rtw/rtw - (No table of contents file) simulink/modeladvisor - (No table of contents file) modeladvisor/fixpt - (No table of contents file) simulink/MPlayIO - (No table of contents file) simulink/dataobjectwizard - (No table of contents file) shared/fixedpointlib - (No table of contents file) simulink/dataimportexport - (No table of contents file) shared/hdlshared - (No table of contents file) stateflow/sfdemos - Stateflow demonstrations and samples. stateflow/coder - (No table of contents file) eml/eml - (No table of contents file) emlcoder/emlcoder - Embedded MATLAB Coder. emlcoder/emlcodermex - (No table of contents file) fixedpoint/fixedpoint - (No table of contents file) fixedpoint/fidemos - (No table of contents file) images/images - Image Processing Toolbox images/imuitools - Image Processing Toolbox --- imuitools images/imdemos - Image Processing Toolbox --- demos and sample images images/iptutils - Image Processing Toolbox --- utilities shared/imageslib - Image Processing Toolbox Library images/medformats - Image Processing Toolbox --- Medical formats slvnv/simcoverage - (No table of contents file) optim/optim - Optimization Toolbox optim/optimdemos - shared/optimlib - Optimization Toolbox Library signal/signal - Signal Processing Toolbox signal/sigtools - (No table of contents file) signal/sptoolgui - (No table of contents file) signal/sigdemos - (No table of contents file) shared/spcuilib - (No table of contents file) toolbox/stats - Statistics Toolbox vr/vr - (No table of contents file) vr/vrdemos - Virtual Reality Toolbox examples. matlab/work - (No table of contents file) whos Name Size Bytes Class Attributes A 3x3 72 double a 1x4 32 double ans 1x7 56 double b 1x1 8 double find 1x9 72 double clear find A(find(A > 2)) = -1 A = -1 -1 -1 -1 -1 -1 2 2 -1 eye(4) ans = 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 zeros(4, 4) ans = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ones(4, 4) ans = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 diag([1 2 3 6]) ans = 1 0 0 0 0 2 0 0 0 0 3 0 0 0 0 6 rand(5, 5) ans = 0.8147 0.0975 0.1576 0.1419 0.6557 0.9058 0.2785 0.9706 0.4218 0.0357 0.1270 0.5469 0.9572 0.9157 0.8491 0.9134 0.9575 0.4854 0.7922 0.9340 0.6324 0.9649 0.8003 0.9595 0.6787 randn(5, 5) ans = -0.4326 1.1909 -0.1867 0.1139 0.2944 -1.6656 1.1892 0.7258 1.0668 -1.3362 0.1253 -0.0376 -0.5883 0.0593 0.7143 0.2877 0.3273 2.1832 -0.0956 1.6236 -1.1465 0.1746 -0.1364 -0.8323 -0.6918 which repmszt 'repmszt' not found. which repmat /home/ml/matlab/toolbox/matlab/elmat/repmat.m type repmat function B = repmat(A,M,N) %REPMAT Replicate and tile an array. % B = repmat(A,M,N) creates a large matrix B consisting of an M-by-N % tiling of copies of A. The size of B is [size(A,1)*M, size(A,2)*N]. % The statement repmat(A,N) creates an N-by-N tiling. % % B = REPMAT(A,[M N]) accomplishes the same result as repmat(A,M,N). % % B = REPMAT(A,[M N P ...]) tiles the array A to produce a % multidimensional array B composed of copies of A. The size of B is % [size(A,1)*M, size(A,2)*N, size(A,3)*P, ...]. % % REPMAT(A,M,N) when A is a scalar is commonly used to produce an M-by-N % matrix filled with A's value and having A's CLASS. For certain values, % you may achieve the same results using other functions. Namely, % REPMAT(NAN,M,N) is the same as NAN(M,N) % REPMAT(SINGLE(INF),M,N) is the same as INF(M,N,'single') % REPMAT(INT8(0),M,N) is the same as ZEROS(M,N,'int8') % REPMAT(UINT32(1),M,N) is the same as ONES(M,N,'uint32') % REPMAT(EPS,M,N) is the same as EPS(ONES(M,N)) % % Example: % repmat(magic(2), 2, 3) % repmat(uint8(5), 2, 3) % % Class support for input A: % float: double, single % % See also BSXFUN, MESHGRID, ONES, ZEROS, NAN, INF. % Copyright 1984-2006 The MathWorks, Inc. % $Revision: 1.17.4.10 $ $Date: 2006/12/15 19:27:37 $ if nargin < 2 error('MATLAB:repmat:NotEnoughInputs', 'Requires at least 2 inputs.') end if nargin == 2 if isscalar(M) siz = [M M]; else siz = M; end else siz = [M N]; end if isscalar(A) nelems = prod(siz); if nelems>0 % Since B doesn't exist, the first statement creates a B with % the right size and type. Then use scalar expansion to % fill the array. Finally reshape to the specified size. B(nelems) = A; if ~isequal(B(1), B(nelems)) || ~(isnumeric(A) || islogical(A)) % if B(1) is the same as B(nelems), then the default value filled in for % B(1:end-1) is already A, so we don't need to waste time redoing % this operation. (This optimizes the case that A is a scalar zero of % some class.) B(:) = A; end B = reshape(B,siz); else B = A(ones(siz)); end elseif ndims(A) == 2 && numel(siz) == 2 [m,n] = size(A); if (m == 1 && siz(2) == 1) B = A(ones(siz(1), 1), :); elseif (n == 1 && siz(1) == 1) B = A(:, ones(siz(2), 1)); else mind = (1:m)'; nind = (1:n)'; mind = mind(:,ones(1,siz(1))); nind = nind(:,ones(1,siz(2))); B = A(mind,nind); end else Asiz = size(A); Asiz = [Asiz ones(1,length(siz)-length(Asiz))]; siz = [siz ones(1,length(Asiz)-length(siz))]; for i=length(Asiz):-1:1 ind = (1:Asiz(i))'; subs{i} = ind(:,ones(1,siz(i))); end B = A(subs{:}); end mkdir Matlab_Crash_Kurs cd Matlab_Crash_Kurs/ ls tzuurt ??? Undefined function or variable 'tzuurt'. paths ??? Undefined function or variable 'paths'. path MATLABPATH /home/buenau/matlab /home/ml/matlab/toolbox/matlab/general /home/ml/matlab/toolbox/matlab/ops /home/ml/matlab/toolbox/matlab/lang /home/ml/matlab/toolbox/matlab/elmat /home/ml/matlab/toolbox/matlab/elfun /home/ml/matlab/toolbox/matlab/specfun /home/ml/matlab/toolbox/matlab/matfun /home/ml/matlab/toolbox/matlab/datafun /home/ml/matlab/toolbox/matlab/polyfun /home/ml/matlab/toolbox/matlab/funfun /home/ml/matlab/toolbox/matlab/sparfun /home/ml/matlab/toolbox/matlab/scribe /home/ml/matlab/toolbox/matlab/graph2d /home/ml/matlab/toolbox/matlab/graph3d /home/ml/matlab/toolbox/matlab/specgraph /home/ml/matlab/toolbox/matlab/graphics /home/ml/matlab/toolbox/matlab/uitools /home/ml/matlab/toolbox/matlab/strfun /home/ml/matlab/toolbox/matlab/imagesci /home/ml/matlab/toolbox/matlab/iofun /home/ml/matlab/toolbox/matlab/audiovideo /home/ml/matlab/toolbox/matlab/timefun /home/ml/matlab/toolbox/matlab/datatypes /home/ml/matlab/toolbox/matlab/verctrl /home/ml/matlab/toolbox/matlab/codetools /home/ml/matlab/toolbox/matlab/helptools /home/ml/matlab/toolbox/matlab/demos /home/ml/matlab/toolbox/matlab/timeseries /home/ml/matlab/toolbox/matlab/hds /home/ml/matlab/toolbox/matlab/guide /home/ml/matlab/toolbox/matlab/plottools /home/ml/matlab/toolbox/local /home/ml/matlab/toolbox/shared/controllib /home/ml/matlab/toolbox/simulink/simulink /home/ml/matlab/toolbox/simulink/blocks /home/ml/matlab/toolbox/simulink/components /home/ml/matlab/toolbox/simulink/fixedandfloat /home/ml/matlab/toolbox/simulink/fixedandfloat/fxpdemos /home/ml/matlab/toolbox/simulink/fixedandfloat/obsolete /home/ml/matlab/toolbox/simulink/simdemos /home/ml/matlab/toolbox/simulink/simdemos/aerospace /home/ml/matlab/toolbox/simulink/simdemos/automotive /home/ml/matlab/toolbox/simulink/simdemos/simfeatures /home/ml/matlab/toolbox/simulink/simdemos/simgeneral /home/ml/matlab/toolbox/simulink/dee /home/ml/matlab/toolbox/shared/dastudio /home/ml/matlab/toolbox/shared/glue /home/ml/matlab/toolbox/stateflow/stateflow /home/ml/matlab/toolbox/rtw/rtw /home/ml/matlab/toolbox/simulink/simulink/modeladvisor /home/ml/matlab/toolbox/simulink/simulink/modeladvisor/fixpt /home/ml/matlab/toolbox/simulink/simulink/MPlayIO /home/ml/matlab/toolbox/simulink/simulink/dataobjectwizard /home/ml/matlab/toolbox/shared/fixedpointlib /home/ml/matlab/toolbox/simulink/dataimportexport /home/ml/matlab/toolbox/shared/hdlshared /home/ml/matlab/toolbox/stateflow/sfdemos /home/ml/matlab/toolbox/stateflow/coder /home/ml/matlab/toolbox/eml/eml /home/ml/matlab/toolbox/emlcoder/emlcoder /home/ml/matlab/toolbox/emlcoder/emlcodermex /home/ml/matlab/toolbox/fixedpoint/fixedpoint /home/ml/matlab/toolbox/fixedpoint/fidemos /home/ml/matlab/toolbox/images/images /home/ml/matlab/toolbox/images/imuitools /home/ml/matlab/toolbox/images/imdemos /home/ml/matlab/toolbox/images/iptutils /home/ml/matlab/toolbox/shared/imageslib /home/ml/matlab/toolbox/images/medformats /home/ml/matlab/toolbox/slvnv/simcoverage /home/ml/matlab/toolbox/optim/optim /home/ml/matlab/toolbox/optim/optimdemos /home/ml/matlab/toolbox/shared/optimlib /home/ml/matlab/toolbox/signal/signal /home/ml/matlab/toolbox/signal/sigtools /home/ml/matlab/toolbox/signal/sptoolgui /home/ml/matlab/toolbox/signal/sigdemos /home/ml/matlab/toolbox/shared/spcuilib /home/ml/matlab/toolbox/stats /home/ml/matlab/toolbox/vr/vr /home/ml/matlab/toolbox/vr/vrdemos /home/ml/matlab/work tzuurt ??? Undefined function or variable 'tzuurt'. func1(3, 4) ans = 7 which func1 /home/buenau/Matlab_Crash_Kurs/func1.m func1(3, 4) ans = 7 [ r1, r2 ] = func1(3, 4) r1 = 7 r2 = 12 help func1 FUCN1 Compute sum and product. Blabla Blabla :w ??? :w | Error: Unexpected MATLAB operator. [ r1, r2 ] = func1(3, 4) whos Name Size Bytes Class Attributes a 1x1 8 double c 1x1 8 double d 1x1 8 double a = 77778.3; dbcont r1 = 7.7778e+04 r2 = 12 :w ??? :w | Error: Unexpected MATLAB operator. myprod([-1 0 3 8]) ans = 24 sum([1 5 6]) ans = 12 A A = -1 -1 -1 -1 -1 -1 2 2 -1 sum(A, 1) ans = 0 0 -3 sum(A, 2) ans = -3 -3 3 sum(A, 1) ans = 0 0 -3 [1 1 1]*A ans = 0 0 -3 A*[1 1 1]' ans = -3 -3 3 x = linspace(0, 4*pi, 100); y = sin(x); plot(x, y) figure plot(x, y) figure(1); help plot PLOT Linear plot. PLOT(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the rows or columns of the matrix, whichever line up. If X is a scalar and Y is a vector, disconnected line objects are created and plotted as discrete points vertically at X. PLOT(Y) plots the columns of Y versus their index. If Y is complex, PLOT(Y) is equivalent to PLOT(real(Y),imag(Y)). In all other uses of PLOT, the imaginary part is ignored. Various line types, plot symbols and colors may be obtained with PLOT(X,Y,S) where S is a character string made from one element from any or all the following 3 columns: b blue . point - solid g green o circle : dotted r red x x-mark -. dashdot c cyan + plus -- dashed m magenta * star (none) no line y yellow s square k black d diamond w white v triangle (down) ^ triangle (up) < triangle (left) > triangle (right) p pentagram h hexagram For example, PLOT(X,Y,'c+:') plots a cyan dotted line with a plus at each data point; PLOT(X,Y,'bd') plots blue diamond at each data point but does not draw any line. PLOT(X1,Y1,S1,X2,Y2,S2,X3,Y3,S3,...) combines the plots defined by the (X,Y,S) triples, where the X's and Y's are vectors or matrices and the S's are strings. For example, PLOT(X,Y,'y-',X,Y,'go') plots the data twice, with a solid yellow line interpolating green circles at the data points. The PLOT command, if no color is specified, makes automatic use of the colors specified by the axes ColorOrder property. The default ColorOrder is listed in the table above for color systems where the default is blue for one line, and for multiple lines, to cycle through the first six colors in the table. For monochrome systems, PLOT cycles over the axes LineStyleOrder property. If you do not specify a marker type, PLOT uses no marker. If you do not specify a line style, PLOT uses a solid line. PLOT(AX,...) plots into the axes with handle AX. PLOT returns a column vector of handles to lineseries objects, one handle per plotted line. The X,Y pairs, or X,Y,S triples, can be followed by parameter/value pairs to specify additional properties of the lines. For example, PLOT(X,Y,'LineWidth',2,'Color',[.6 0 0]) will create a plot with a dark red line width of 2 points. Example x = -pi:pi/10:pi; y = tan(sin(x)) - sin(tan(x)); plot(x,y,'--rs','LineWidth',2,... 'MarkerEdgeColor','k',... 'MarkerFaceColor','g',... 'MarkerSize',10) See also PLOTTOOLS, SEMILOGX, SEMILOGY, LOGLOG, PLOTYY, PLOT3, GRID, TITLE, XLABEL, YLABEL, AXIS, AXES, HOLD, LEGEND, SUBPLOT, SCATTER, PLOT3. Overloaded functions or methods (ones with the same name in other directories) help timeseries/plot.m help SimTimeseries/plot.m help dspdata/plot.m Reference page in Help browser doc plot plot(x, y, 'r--') plot(x, y, 'ro) ??? plot(x, y, 'ro) | Error: A MATLAB string constant is not terminated properly. plot(x, y, 'ro') hold on; plot(x, y) z = cos(x); plot(x, z, 'kd') title('Title') xlabel('X'); xlabel('sin(x)'); legend('sin(x)', 'sin(x)', 'cos(x)') gca ans = 158.0016 get(gca) ActivePositionProperty = outerposition ALim = [0 1] ALimMode = auto AmbientLightColor = [1 1 1] Box = on CameraPosition = [7 0 17.3205] CameraPositionMode = auto CameraTarget = [7 0 0] CameraTargetMode = auto CameraUpVector = [0 1 0] CameraUpVectorMode = auto CameraViewAngle = [6.60861] CameraViewAngleMode = auto CLim = [0 1] CLimMode = auto Color = [1 1 1] CurrentPoint = [ (2 by 3) double array] ColorOrder = [ (7 by 3) double array] DataAspectRatio = [7 1 1] DataAspectRatioMode = auto DrawMode = normal FontAngle = normal FontName = Helvetica FontSize = [10] FontUnits = points FontWeight = normal GridLineStyle = : Layer = bottom LineStyleOrder = - LineWidth = [0.5] MinorGridLineStyle = : NextPlot = add OuterPosition = [0 0 1 1] PlotBoxAspectRatio = [1 1 1] PlotBoxAspectRatioMode = auto Projection = orthographic Position = [0.13 0.135135 0.775 0.783784] TickLength = [0.01 0.025] TickDir = in TickDirMode = auto TightInset = [0.0747423 0.135135 0.0206186 0.0810811] Title = [322.001] Units = normalized View = [0 90] XColor = [0 0 0] XDir = normal XGrid = off XLabel = [323.001] XAxisLocation = bottom XLim = [0 14] XLimMode = auto XMinorGrid = off XMinorTick = off XScale = linear XTick = [ (1 by 8) double array] XTickLabel = 0 2 4 6 8 10 12 14 XTickLabelMode = auto XTickMode = auto YColor = [0 0 0] YDir = normal YGrid = off YLabel = [324.001] YAxisLocation = left YLim = [-1 1] YLimMode = auto YMinorGrid = off YMinorTick = off YScale = linear YTick = [-1 -0.5 0 0.5 1] YTickLabel = -1 -0.5 0 0.5 1 YTickLabelMode = auto YTickMode = auto ZColor = [0 0 0] ZDir = normal ZGrid = off ZLabel = [325.001] ZLim = [-1 1] ZLimMode = auto ZMinorGrid = off ZMinorTick = off ZScale = linear ZTick = [-1 0 1] ZTickLabel = ZTickLabelMode = auto ZTickMode = auto BeingDeleted = off ButtonDownFcn = Children = [ (3 by 1) double array] Clipping = on CreateFcn = DeleteFcn = BusyAction = queue HandleVisibility = on HitTest = on Interruptible = on Parent = [1] Selected = off SelectionHighlight = on Tag = Type = axes UIContextMenu = [] UserData = [] Visible = on set(gca, 'XTick', [-10, 50]) set(gca, 'XLim', [-10, 50]) get(gca) ActivePositionProperty = outerposition ALim = [0 1] ALimMode = auto AmbientLightColor = [1 1 1] Box = on CameraPosition = [20 0 17.3205] CameraPositionMode = auto CameraTarget = [20 0 0] CameraTargetMode = auto CameraUpVector = [0 1 0] CameraUpVectorMode = auto CameraViewAngle = [6.60861] CameraViewAngleMode = auto CLim = [0 1] CLimMode = auto Color = [1 1 1] CurrentPoint = [ (2 by 3) double array] ColorOrder = [ (7 by 3) double array] DataAspectRatio = [30 1 1] DataAspectRatioMode = auto DrawMode = normal FontAngle = normal FontName = Helvetica FontSize = [10] FontUnits = points FontWeight = normal GridLineStyle = : Layer = bottom LineStyleOrder = - LineWidth = [0.5] MinorGridLineStyle = : NextPlot = add OuterPosition = [0 0 1 1] PlotBoxAspectRatio = [1 1 1] PlotBoxAspectRatioMode = auto Projection = orthographic Position = [0.13 0.135135 0.775 0.783784] TickLength = [0.01 0.025] TickDir = in TickDirMode = auto TightInset = [0.0747423 0.135135 0.0206186 0.0810811] Title = [322.001] Units = normalized View = [0 90] XColor = [0 0 0] XDir = normal XGrid = off XLabel = [323.001] XAxisLocation = bottom XLim = [-10 50] XLimMode = manual XMinorGrid = off XMinorTick = off XScale = linear XTick = [-10 50] XTickLabel = -10 50 XTickLabelMode = auto XTickMode = manual YColor = [0 0 0] YDir = normal YGrid = off YLabel = [324.001] YAxisLocation = left YLim = [-1 1] YLimMode = auto YMinorGrid = off YMinorTick = off YScale = linear YTick = [-1 -0.5 0 0.5 1] YTickLabel = -1 -0.5 0 0.5 1 YTickLabelMode = auto YTickMode = auto ZColor = [0 0 0] ZDir = normal ZGrid = off ZLabel = [325.001] ZLim = [-1 1] ZLimMode = auto ZMinorGrid = off ZMinorTick = off ZScale = linear ZTick = [-1 0 1] ZTickLabel = ZTickLabelMode = auto ZTickMode = auto BeingDeleted = off ButtonDownFcn = Children = [ (3 by 1) double array] Clipping = on CreateFcn = DeleteFcn = BusyAction = queue HandleVisibility = on HitTest = on Interruptible = on Parent = [1] Selected = off SelectionHighlight = on Tag = Type = axes UIContextMenu = [] UserData = [] Visible = on get(gca, 'XTick') ans = -10 50 figure(2); h = plot(x, z, 'kd') h = 319.0022 get(h) Color: [0 0 0] EraseMode: 'normal' LineStyle: 'none' LineWidth: 0.5000 Marker: 'diamond' MarkerSize: 6 MarkerEdgeColor: 'auto' MarkerFaceColor: 'none' XData: [1x100 double] YData: [1x100 double] ZData: [1x0 double] BeingDeleted: 'off' ButtonDownFcn: [] Children: [0x1 double] Clipping: 'on' CreateFcn: [] DeleteFcn: [] BusyAction: 'queue' HandleVisibility: 'on' HitTest: 'on' Interruptible: 'on' Selected: 'off' SelectionHighlight: 'on' Tag: '' Type: 'line' UIContextMenu: [] UserData: [] Visible: 'on' Parent: 318.0011 DisplayName: '' XDataMode: 'manual' XDataSource: '' YDataSource: '' ZDataSource: '' set(h, 'LineWidth', 10) doc lookfor ??? Error using ==> lookfor Not enough input arguments. lookfor 'Axes Properties' Axes Properties not found. help graph2d Two dimensional graphs. Elementary X-Y graphs. plot - Linear plot. loglog - Log-log scale plot. semilogx - Semi-log scale plot. semilogy - Semi-log scale plot. polar - Polar coordinate plot. plotyy - Graphs with y tick labels on the left and right. Axis control. axis - Control axis scaling and appearance. zoom - Zoom in and out on a 2-D plot. grid - Grid lines. box - Axis box. rbbox - Rubberband box. hold - Hold current graph. axes - Create axes in arbitrary positions. subplot - Create axes in tiled positions. Graph annotation. plotedit - Tools for editing and annotating plots. title - Graph title. xlabel - X-axis label. ylabel - Y-axis label. texlabel - Produces the TeX format from a character string. text - Text annotation. gtext - Place text with mouse. Hardcopy and printing. print - Print graph or Simulink system; or save graph to M-file. printopt - Printer defaults. orient - Set paper orientation. See also GRAPH3D, SPECGRAPH. help graph3d Three dimensional graphs. Elementary 3-D plots. plot3 - Plot lines and points in 3-D space. mesh - 3-D mesh surface. surf - 3-D colored surface. fill3 - Filled 3-D polygons. Color control. colormap - Color look-up table. caxis - Pseudocolor axis scaling. shading - Color shading mode. hidden - Mesh hidden line removal mode. brighten - Brighten or darken color map. colordef - Set color defaults. graymon - Set graphics defaults for gray-scale monitors. Lighting. surfl - 3-D shaded surface with lighting. lighting - Lighting mode. material - Material reflectance mode. specular - Specular reflectance. diffuse - Diffuse reflectance. surfnorm - Surface normals. Color maps. hsv - Hue-saturation-value color map. hot - Black-red-yellow-white color map. gray - Linear gray-scale color map. bone - Gray-scale with tinge of blue color map. copper - Linear copper-tone color map. pink - Pastel shades of pink color map. white - All white color map. flag - Alternating red, white, blue, and black color map. lines - Color map with the line colors. colorcube - Enhanced color-cube color map. vga - Windows colormap for 16 colors. jet - Variant of HSV. prism - Prism color map. cool - Shades of cyan and magenta color map. autumn - Shades of red and yellow color map. spring - Shades of magenta and yellow color map. winter - Shades of blue and green color map. summer - Shades of green and yellow color map. Transparency. alpha - Transparency (alpha) mode. alphamap - Transparency (alpha) look-up table. alim - Transparency (alpha) scaling Axis control. axis - Control axis scaling and appearance. zoom - Zoom in and out on a 2-D plot. grid - Grid lines. box - Axis box. hold - Hold current graph. axes - Create axes in arbitrary positions. subplot - Create axes in tiled positions. daspect - Data aspect ratio. pbaspect - Plot box aspect ratio. xlim - X limits. ylim - Y limits. zlim - Z limits. Viewpoint control. view - 3-D graph viewpoint specification. viewmtx - View transformation matrix. rotate3d - Interactively rotate view of 3-D plot. Camera control. campos - Camera position. camtarget - Camera target. camva - Camera view angle. camup - Camera up vector. camproj - Camera projection. High level camera control. camorbit - Orbit camera. campan - Pan camera. camdolly - Dolly camera. camzoom - Zoom camera. camroll - Roll camera. camlookat - Move camera and target to view specified objects. cameratoolbar - Interactively manipulate camera. High level light control. camlight - Creates or sets position of a light. lightangle - Spherical position of a light. Graph annotation. title - Graph title. xlabel - X-axis label. ylabel - Y-axis label. zlabel - Z-axis label. text - Text annotation. gtext - Mouse placement of text. plotedit - Experimental graph editing and annotation tools. Hardcopy and printing. print - Print graph or Simulink system; or save graph to M-file. printopt - Printer defaults. orient - Set paper orientation. vrml - Save graphics to VRML 2.0 file. See also GRAPH2D, SPECGRAPH. bar3(rand(3,3)) help specgraph Specialized graphs. Specialized 2-D graphs. area - Filled area plot. bar - Bar graph. barh - Horizontal bar graph. comet - Comet-like trajectory. compass - Compass plot. errorbar - Error bar plot. ezplot - Easy to use function plotter. ezpolar - Easy to use polar coordinate plotter. feather - Feather plot. fill - Filled 2-D polygons. fplot - Plot function. hist - Histogram. pareto - Pareto chart. pie - Pie chart. plotmatrix - Scatter plot matrix. rose - Angle histogram plot. scatter - Scatter plot. stem - Discrete sequence or "stem" plot. stairs - Stairstep plot. Contour and 2-1/2 D graphs. contour - Contour plot. contourf - Filled contour plot. contour3 - 3-D Contour plot. clabel - Contour plot elevation labels. ezcontour - Easy to use contour plotter. ezcontourf - Easy to use filled contour plotter. pcolor - Pseudocolor (checkerboard) plot. voronoi - Voronoi diagram. Specialized 3-D graphs. bar3 - 3-D bar graph. bar3h - Horizontal 3-D bar graph. comet3 - 3-D comet-like trajectories. ezgraph3 - General purpose surface plotter. ezmesh - Easy to use 3-D mesh plotter. ezmeshc - Easy to use combination mesh/contour plotter. ezplot3 - Easy to use 3-D parametric curve plotter. ezsurf - Easy to use 3-D colored surface plotter. ezsurfc - Easy to use combination surf/contour plotter. meshc - Combination mesh/contour plot. meshz - 3-D mesh with curtain. pie3 - 3-D pie chart. ribbon - Draw 2-D lines as ribbons in 3-D. scatter3 - 3-D scatter plot. stem3 - 3-D stem plot. surfc - Combination surf/contour plot. trisurf - Triangular surface plot. trimesh - Triangular mesh plot. waterfall - Waterfall plot. Volume and vector visualization. vissuite - Visualization suite. isosurface - Isosurface extractor. isonormals - Isosurface normals. isocaps - Isosurface end caps. isocolors - Isosurface and patch colors. contourslice - Contours in slice planes. slice - Volumetric slice plot. streamline - Streamlines from 2D or 3D vector data. stream3 - 3D streamlines. stream2 - 2D streamlines. quiver3 - 3D quiver plot. quiver - 2D quiver plot. divergence - Divergence of a vector field. curl - Curl and angular velocity of a vector field. coneplot - 3D cone plot. streamtube - 3D stream tube. streamribbon - 3D stream ribbon. streamslice - Streamlines in slice planes. streamparticles - Display stream particles. interpstreamspeed - Interpolate streamline vertices from speed. subvolume - Extract subset of volume dataset. reducevolume - Reduce volume dataset. volumebounds - Returns x,y,z and color limits for volume data. smooth3 - Smooth 3D data. reducepatch - Reduce number of patch faces. shrinkfaces - Reduce size of patch faces. Images display and file I/O. image - Display image. imagesc - Scale data and display as image. colormap - Color look-up table. gray - Linear gray-scale color map. contrast - Gray scale color map to enhance image contrast. brighten - Brighten or darken color map. colorbar - Display color bar (color scale). imread - Read image from graphics file. imwrite - Write image to graphics file. imfinfo - Information about graphics file. im2java - Convert image to Java image. Movies and animation. getframe - Get movie frame. movie - Play recorded movie frames. rotate - Rotate object about specified orgin and direction. frame2im - Convert movie frame to indexed image. im2frame - Convert index image into movie format. Color related functions. spinmap - Spin color map. rgbplot - Plot color map. colstyle - Parse color and style from string. ind2rgb - Convert indexed image to RGB image. Solid modeling. cylinder - Generate cylinder. sphere - Generate sphere. ellipsoid - Generate ellipsoid. patch - Create patch. surf2patch - Convert surface data to patch data. See also GRAPH2D, GRAPH3D. A = rand(50,50); clf; imagesc(A) colorbar exit