XGitUrl: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Fsignal_processing%2Fhelp%2Fen_US%2Fconv.xml;h=15af57e7186ee75669c2b7e574e461a931d1dbd8;hp=d3333c664becc6fd559c2d37e02078cdd9ae8688;hb=6f7afdcb847c3c23de7ba034c6e184f06db4ba5f;hpb=391afda1ae4bc9ab4e98afee0b97b7e1be07f02d
diff git a/scilab/modules/signal_processing/help/en_US/conv.xml b/scilab/modules/signal_processing/help/en_US/conv.xml
index d3333c6..15af57e 100644
 a/scilab/modules/signal_processing/help/en_US/conv.xml
+++ b/scilab/modules/signal_processing/help/en_US/conv.xml
@@ 1,143 +1,140 @@


 $LastChangedDate: 30122011 $


 conv
 discrete 1D convolution.


 Calling Sequence
 C = conv(A,B [,shape])


 Parameters


 A


 a real or complex vector.




 B


 a real or complex vector.




 shape


 an optional character string with possible values:


+
+
+ conv
+ discrete 1D convolution.
+
+
+ Syntax
+ C = conv(A,B [,shape])
+
+
+ Parameters
+
+
+ A
+
+
+ a real or complex vector.
+
+
+
+
+ B
+
+
+ a real or complex vector.
+
+
+
+
+ shape
+
+
+ an optional character string with possible values:
+
+
+
+ "full", conv
+ computes the full convolution. It is the
+ default value.
+
+
+ "same", conv
+ computes the central part of the convolution of the same
+ size as A.
+
+
+ "valid", conv
+ computes the convolution parts without the zeropadding
+ of A.
+
+
+
+
+
+ C
+
+
+ a real or complex vector.
+
+
+
+
+
+
+ Description
+
+ conv uses a straightforward formal
+ implementation of the onedimensional convolution equation in
+ spatial form.
+
+
+ C=conv(A,B [,shape]) computes the
+ onedimensional convolution of the vectors A
+ and B:
+
+
 "full", conv
 computes the full convolution. It is the
 default value.
+ With shape=="full" the
+ dimensions of the resultC are given by
+ size(A,'*')+size(B,'*')+1. The indices of the
+ center element of B are defined as
+ floor((size(B,'*')+1)/2).
 "same", conv
 computes the central part of the convolution of the same
 size as A.
+ With shape=="same" the
+ dimensions of the resultC are given by
+ size(A). The indices of the
+ center element of B are defined as
+ floor((size(B,'*')+1)/2).
 "valid", conv
 computes the convolution parts without the zeropadding
 of A.
+ With shape=="valid" the dimensions
+ of the result C are given by
+ size(A,'*')size(B,'*')+1) if
+ and(size(A,'*')size(B,'*'))>=0 else
+ C is empty . The indices of the center
+ element of B are defined as
+ 1.




 C


 a real or complex vector.






 Description

 conv uses a straightforward formal
 implementation of the onedimensional convolution equation in
 spatial form.


 C=conv(A,B [,shape]) computes the
 onedimensional convolution of the vectors A
 and B:



 With shape=="full" the
 dimensions of the resultC are given by
 size(A,'*')+size(B,'*')+1. The indices of the
 center element of B are defined as
 floor((size(B,'*')+1)/2).


 With shape=="same" the
 dimensions of the resultC are given by
 size(A). The indices of the
 center element of B are defined as
 floor((size(B,'*')+1)/2).


 With shape=="valid" the dimensions
 of the result C are given by
 size(A,'*')size(B,'*')+1) if
 and(size(A,'*')size(B,'*'))>=0 else
 C is empty . The indices of the center
 element of B are defined as
 1.



 Note that convol can be more efficient for large arrays.



 Examples

+
+ Note that convol can be more efficient for large arrays.
+
+
+
+ Examples
+


 See Also


 convol


 conv2




 Used Functions

 The conv function is based on the conv2 builtin.



 History


 5.4.0
 Function conv introduced.



+
+
+ See Also
+
+
+ convol
+
+
+ conv2
+
+
+
+
+ Used Functions
+
+ The conv function is based on the conv2 builtin.
+
+
+
+ History
+
+
+ 5.4.0
+ Function conv introduced.
+
+
+