From 47535ab08afeb48fbb00f03e68d6ff973cf62cbd Mon Sep 17 00:00:00 2001 From: Abhinav Dronamraju Date: Fri, 10 Nov 2017 14:59:26 +0530 Subject: Functions added --- help/en_US/scilab_en_US_help/seqperiod.html | 117 ---------------------------- 1 file changed, 117 deletions(-) delete mode 100644 help/en_US/scilab_en_US_help/seqperiod.html (limited to 'help/en_US/scilab_en_US_help/seqperiod.html') diff --git a/help/en_US/scilab_en_US_help/seqperiod.html b/help/en_US/scilab_en_US_help/seqperiod.html deleted file mode 100644 index 424df48..0000000 --- a/help/en_US/scilab_en_US_help/seqperiod.html +++ /dev/null @@ -1,117 +0,0 @@ -
- -Calculates the period of a sequence
[p,num]=seqperiod(x)
A vector matrix or n-dimensional array
[p,num]=seqperiod(x) -Returns an integer p such that x(1:p) is the smallest subsequence that repeats in x -The number of times the subsequence repeats is returned in num (may not be an integer) -Repetitions may be incomplete at the end of the sequence but no breaks are permitted between repetitions -If there is no subsequence that repeats in x then p=length(x) -If x is a matrix or n-dimesnional array, the function operates along the first non-singleton dimension of x
x = [4 0 1 5; -1 1 2 5; -2 0 3 5; -3 1 1 5]; -p = seqperiod(x) -p = - -4. 2. 3. 1. -A=zeros(4,1,4); -A(:,1,:)=x; -p1=seqperiod(A); -p1 = - -(:,:,1) - -4. -(:,:,2) - -2. -(:,:,3) - -3. -(:,:,4) - -1. | ![]() | ![]() |