A=[2 4 5 0 0 8 0 2 3] A = 2 4 5 0 0 8 0 2 3 find(A) ans = 1 2 3 6 8 9 B=[1 2 3 4] B = 1 2 3 4 find(B) ans = 1 2 3 4 B=zeros(1,7) B = 0 0 0 0 0 0 0 find(B) ans = Empty matrix: 1-by-0 clear A=[1 0 3 4; 5 0 7 0; 6 4 9 0] A = 1 0 3 4 5 0 7 0 6 4 9 0 find(A) ans = 1 2 3 6 7 8 9 10 [x y]=find(A) x = 1 2 3 3 1 2 3 1 y = 1 1 1 2 3 3 3 4 z=[x y] z = 1 1 2 1 3 1 3 2 1 3 2 3 3 3 1 4 z=[x; y] z = 1 2 3 3 1 2 3 1 1 1 1 2 3 3 3 4 z=[x y] z = 1 1 2 1 3 1 3 2 1 3 2 3 3 3 1 4 A A = 1 0 3 4 5 0 7 0 6 4 9 0 find(A==4) ans = 6 10 find(A==3) ans = 7 [x y]=find(A==3) x = 1 y = 3 A A = 1 0 3 4 5 0 7 0 6 4 9 0 find(A==0) ans = 4 5 11 12 find(A=0) ??? find(A=0) | Error: The expression to the left of the equals sign is not a valid target for an assignment. find(A==0) ans = 4 5 11 12 A=[5 7 4 -2 3 0 9] A = 5 7 4 -2 3 0 9 sort(A) ans = -2 0 3 4 5 7 9 help sort SORT Sort in ascending or descending order. For vectors, SORT(X) sorts the elements of X in ascending order. For matrices, SORT(X) sorts each column of X in ascending order. For N-D arrays, SORT(X) sorts the along the first non-singleton dimension of X. When X is a cell array of strings, SORT(X) sorts the strings in ASCII dictionary order. Y = SORT(X,DIM,MODE) has two optional parameters. DIM selects a dimension along which to sort. MODE selects the direction of the sort 'ascend' results in ascending order 'descend' results in descending order The result is in Y which has the same shape and type as X. [Y,I] = SORT(X,DIM,MODE) also returns an index matrix I. If X is a vector, then Y = X(I). If X is an m-by-n matrix and DIM=1, then for j = 1:n, Y(:,j) = X(I(:,j),j); end When X is complex, the elements are sorted by ABS(X). Complex matches are further sorted by ANGLE(X). When more than one element has the same value, the order of the elements are preserved in the sorted result and the indexes of equal elements will be ascending in any index matrix. Example: If X = [3 7 5 0 4 2] then sort(X,1) is [0 4 2 and sort(X,2) is [3 5 7 3 7 5] 0 2 4]; See also issorted, sortrows, min, max, mean, median. Overloaded functions or methods (ones with the same name in other directories) help cell/sort.m help xregdesign/sort.m help sweepset/sort.m help sym/sort.m Reference page in Help browser doc sort help sortrows SORTROWS Sort rows in ascending order. Y = SORTROWS(X) sorts the rows of the matrix X in ascending order as a group. X is a 2-D numeric or char matrix. For a char matrix containing strings in each row, this is the familiar dictionary sort. When X is complex, the elements are sorted by ABS(X). Complex matches are further sorted by ANGLE(X). X can be any numeric or char class. Y is the same size and class as X. SORTROWS(X,COL) sorts the matrix based on the columns specified in the vector COL. If an element of COL is positive, the corresponding column in X will be sorted in ascending order; if an element of COL is negative, the corresponding column in X will be sorted in descending order. For example, SORTROWS(X,[2 -3]) sorts the rows of X first in ascending order for the second column, and then by descending order for the third column. [Y,I] = SORTROWS(X) also returns an index matrix I such that Y = X(I,:). Notes ----- SORTROWS uses a stable version of quicksort. NaN values are sorted as if they are higher than all other values, including +Inf. Class support for input X: numeric, logical, char See also sort. Reference page in Help browser doc sortrows help sort SORT Sort in ascending or descending order. For vectors, SORT(X) sorts the elements of X in ascending order. For matrices, SORT(X) sorts each column of X in ascending order. For N-D arrays, SORT(X) sorts the along the first non-singleton dimension of X. When X is a cell array of strings, SORT(X) sorts the strings in ASCII dictionary order. Y = SORT(X,DIM,MODE) has two optional parameters. DIM selects a dimension along which to sort. MODE selects the direction of the sort 'ascend' results in ascending order 'descend' results in descending order The result is in Y which has the same shape and type as X. [Y,I] = SORT(X,DIM,MODE) also returns an index matrix I. If X is a vector, then Y = X(I). If X is an m-by-n matrix and DIM=1, then for j = 1:n, Y(:,j) = X(I(:,j),j); end When X is complex, the elements are sorted by ABS(X). Complex matches are further sorted by ANGLE(X). When more than one element has the same value, the order of the elements are preserved in the sorted result and the indexes of equal elements will be ascending in any index matrix. Example: If X = [3 7 5 0 4 2] then sort(X,1) is [0 4 2 and sort(X,2) is [3 5 7 3 7 5] 0 2 4]; See also issorted, sortrows, min, max, mean, median. Overloaded functions or methods (ones with the same name in other directories) help cell/sort.m help xregdesign/sort.m help sweepset/sort.m help sym/sort.m Reference page in Help browser doc sort clear A=[1 2 3 4 5] A = 1 2 3 4 5 issorted(A) ans = 1 A=[1 2 3 8 5] A = 1 2 3 8 5 issorted(A) ans = 0 A=[4 3 2 1] A = 4 3 2 1 issorted(A) ans = 0 fschange('C:\MATLAB7\work\sorba.m'); clear sorba fschange('C:\MATLAB7\work\sorba.m'); clear sorba sorba ??? Undefined function or variable "clcs". Error in ==> sorba at 2 clcs fschange('C:\MATLAB7\work\sorba.m'); clear sorba sorba ??? Undefined function or variable "clcs". Error in ==> sorba at 2 clcs fschange('C:\MATLAB7\work\sorba.m'); clear sorba sorba fschange('C:\MATLAB7\work\sorba.m'); clear sorba sorba A = 4 2 8 -5 1 0 9 B = -5 0 1 2 4 8 9 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 183 Enter first height Enter first height Error in ==> stud_height at 4 Stud3 = input ('Enter first height '); fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 183 Enter second height 177 Enter third height 185 Enter fourth height 182 ??? Undefined function or variable "Sttud3". Error in ==> stud_height at 7 avg_height = (Stud1+Stud2+Sttud3+Stud4)/4 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 183 Enter second height 177 Enter third height 185 Enter fourth height 182 avg_height = 181.7500 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 183 Enter second height 177 Enter third height 185 Enter fourth height 182 Average height is: 181.7500 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 4 Enter second height 5 Enter third height 2 Enter fourth height 1 Average height is: 3 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 4 Enter second height 3 Enter third height 4 Enter fourth height 6 Average height is: 4.2500 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height ??? Error: File: C:\MATLAB7\work\stud_height.m Line: 10 Column: 27 Missing MATLAB operator. fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 der1 der1 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end dbclear ('C:\MATLAB7\work\der1.m', '6') fschange('C:\MATLAB7\work\cik1.m'); clear cik1 who Your variables are: A Stud2 avg_height yd B Stud3 x ydd Stud1 Stud4 y whos Name Size Bytes Class A 1x7 56 double array B 1x7 56 double array Stud1 1x1 8 double array Stud2 1x1 8 double array Stud3 1x1 8 double array Stud4 1x1 8 double array avg_height 1x1 8 double array x 1x601 4808 double array y 1x601 4808 double array yd 1x601 4808 double array ydd 1x601 4808 double array Grand total is 2423 elements using 19384 bytes fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 0 0 0 0 0 0 0 0 0 0 B = 2 B = 2 4 B = 2 4 6 B = 2 4 6 8 B = 2 4 6 8 10 B = 2 4 6 8 10 12 B = 2 4 6 8 10 12 14 B = 2 4 6 8 10 12 14 16 B = 2 4 6 8 10 12 14 16 18 B = 2 4 6 8 10 12 14 16 18 20 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 0 0 0 0 0 0 0 0 0 0 B = 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 B = 2 4 6 0 0 0 0 0 0 0 B = 2 4 6 8 0 0 0 0 0 0 B = 2 4 6 8 10 0 0 0 0 0 B = 2 4 6 8 10 12 0 0 0 0 B = 2 4 6 8 10 12 14 0 0 0 B = 2 4 6 8 10 12 14 16 0 0 B = 2 4 6 8 10 12 14 16 18 0 B = 2 4 6 8 10 12 14 16 18 20 clc clear cik1 A = 0 0 0 0 0 0 0 0 0 0 B = 2 0 0 0 0 0 0 0 0 0 B = 2 4 0 0 0 0 0 0 0 0 B = 2 4 6 0 0 0 0 0 0 0 B = 2 4 6 8 0 0 0 0 0 0 B = 2 4 6 8 10 0 0 0 0 0 B = 2 4 6 8 10 12 0 0 0 0 B = 2 4 6 8 10 12 14 0 0 0 B = 2 4 6 8 10 12 14 16 0 0 B = 2 4 6 8 10 12 14 16 18 0 B = 2 4 6 8 10 12 14 16 18 20 clear clc dbclear ('C:\MATLAB7\work\cik1.m', '3') dbclear ('C:\MATLAB7\work\cik1.m', '4') dbclear ('C:\MATLAB7\work\cik1.m', '5') cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 B = 2 0 0 0 0 0 0 0 0 0 B = 2 4 0 0 0 0 0 0 0 0 B = 2 4 6 0 0 0 0 0 0 0 B = 2 4 6 8 0 0 0 0 0 0 B = 2 4 6 8 10 0 0 0 0 0 B = 2 4 6 8 10 12 0 0 0 0 B = 2 4 6 8 10 12 14 0 0 0 B = 2 4 6 8 10 12 14 16 0 0 B = 2 4 6 8 10 12 14 16 18 0 B = 2 4 6 8 10 12 14 16 18 20 cik1 if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 0 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 10 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 10 12 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 10 12 14 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 10 12 14 16 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 10 12 14 16 18 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end B = 2 4 6 8 10 12 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 1 2 3 4 5 6 7 8 ??? Subscript indices must either be real positive integers or logicals. Error in ==> cik1 at 10 if A(i,j)>3 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 ??? Error: File: C:\MATLAB7\work\cik1.m Line: 10 Column: 11 Missing variable or function. fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 1 2 3 4 5 6 7 8 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 1 2 3 4 5 6 7 8 A = 1 2 3 40 5 6 7 8 A = 1 2 3 40 50 6 7 8 A = 1 2 3 40 50 60 7 8 A = 1 2 3 40 50 60 70 8 A = 1 2 3 40 50 60 70 80 cik1 A = 1 2 3 4 5 6 7 8 A = 1 2 3 40 5 6 7 8 A = 1 2 3 40 50 6 7 8 A = 1 2 3 40 50 60 7 8 A = 1 2 3 40 50 60 70 8 A = 1 2 3 40 50 60 70 80 openvar('A', A); fschange('C:\MATLAB7\work\cik1.m'); clear cik1 openvar('A', A); cik1 A = 1 2 3 4 5 6 7 8 lenght(A) ??? Undefined command/function 'lenght'. length(A) ans = 4 size(A) ans = 2 4 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 1 2 3 4 5 6 7 8 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 ??? Reference to a cleared variable A. Error in ==> cik1 at 8 s=size(A); ??? Error using ==> eval Undefined function or variable 'A'. fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 A = 1 2 3 4 5 6 7 8 [x y]=max(max(A)) x = 80 y = 4 [x y]=find(max(max(A))) x = 1 y = 1 A A = 0.5000 1.0000 1.5000 40.0000 50.0000 60.0000 70.0000 80.0000 max(A) ans = 50 60 70 80 max(max(A)) ans = 80 A A = 0.5000 1.0000 1.5000 40.0000 50.0000 60.0000 70.0000 80.0000 find(maxA)) ??? find(maxA)) | Error: Unbalanced or misused parentheses or brackets. find(max(A)) ans = 1 2 3 4 A A = 0.5000 1.0000 1.5000 40.0000 50.0000 60.0000 70.0000 80.0000 max(A) ans = 50 60 70 80 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 4 Enter second height 6 Enter third height 3 Enter fourth height 1 ??? Error using ==> disp Too many input arguments. Error in ==> stud_height at 10 disp('Average height is:',avg_height) fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 3 Enter second height 2 Enter third height 5 Enter fourth height 6 Average height is: 4 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 5 Enter second height 6 Enter third height 3 Enter fourth height 1 Average height is:clc stud_height Enter first height 3 Enter second height 5 Enter third height 4 Enter fourth height 1 Average height is:fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height Error in ==> stud_height at 2 Stud1 = input ('Enter first height '); clc stud_height Enter first height 5 Enter second height 3 Enter third height 4 Enter fourth height 8 Average height is:5.000000fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height Error in ==> stud_height at 2 Stud1 = input ('Enter first height '); clc stud_height Enter first height 3 Enter second height 1 Enter third height 5 Enter fourth height 9 Average height is: 4.500000fgd ??? Undefined function or variable 'fgd'. fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first height 3 Enter second height 6 Enter third height 8 Enter fourth height 9 Average height is: 6.5000 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 clear clc fschange('C:\MATLAB7\work\der1.m'); clear der1 der1 der1 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height fschange('C:\MATLAB7\work\proba.m'); clear proba clear clc proba fschange('C:\MATLAB7\work\proba.m'); clear proba clear proba A = 1 2 3 4 B = 2 4 6 8 clear clc stud_height Enter first num 3 Enter second num 6 Enter third num 3 Enter fourth num 1 avg_height = 3.2500 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first num 3 Enter second num 7 Enter third num 6 Enter fourth num 9 avg_height = 6.2500 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first num 3 Enter second num 5 Enter third num 4 Enter fourth num 1 avg = 3.2500 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height stud_height Enter first num 4 Enter second num 23 Enter third num 54 Enter fourth num 7 avg = 22 fschange('C:\MATLAB7\work\stud_height.m'); clear stud_height fschange('C:\MATLAB7\work\cik1.m'); clear cik1 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 clear clc fschange('C:\MATLAB7\work\cik1.m'); clear cik1 dbclear ('C:\MATLAB7\work\cik1.m', '4') dbclear ('C:\MATLAB7\work\cik1.m', '4') dbclear ('C:\MATLAB7\work\cik1.m', '6') dbclear ('C:\MATLAB7\work\cik1.m', '7') cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 A = 2 0 0 0 0 0 0 0 0 0 A = 2 4 0 0 0 0 0 0 0 0 A = 2 4 6 0 0 0 0 0 0 0 A = 2 4 6 8 0 0 0 0 0 0 A = 2 4 6 8 10 0 0 0 0 0 A = 2 4 6 8 10 12 0 0 0 0 A = 2 4 6 8 10 12 14 0 0 0 A = 2 4 6 8 10 12 14 16 0 0 A = 2 4 6 8 10 12 14 16 18 0 A = 2 4 6 8 10 12 14 16 18 20 clear clc cik1 if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 0 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 10 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 10 12 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 10 12 14 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 10 12 14 16 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 10 12 14 16 18 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 2 4 6 8 10 12 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 cik1 dbcont A = 0 0 0 0 0 0 0 0 0 0 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 cik1 if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 0 0 0 0 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 0 0 0 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 0 0 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 0 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 0 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 0 0 12 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 0 10 12 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 0 8 10 12 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 0 6 8 10 12 14 16 18 20 if length(dbstack) > 0, dbstep; end if length(dbstack) > 0, dbstep; end A = 0 4 6 8 10 12 14 16 18 20 if length(dbstack) > 0, dbstep; end dbcont A = 2 4 6 8 10 12 14 16 18 20 fschange('C:\MATLAB7\work\cik1.m'); clear cik1 fschange('C:\MATLAB