help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about conv


From: Ben Abbott
Subject: Re: Question about conv
Date: Thu, 15 Dec 2011 15:43:11 -0500




On Dec 15, 2011, at 3:15 PM, Walter White <address@hidden> wrote:

> Am 15.12.2011 17:14, schrieb James Sherman Jr.:
>> On Thu, Dec 15, 2011 at 11:00 AM, Walter White
>> <address@hidden <mailto:address@hidden>> wrote:
>> 
>>    Hello,
>> 
>>    I have a question about conv():
>> 
>>    The *documentation at
>>    *http://octave.sourceforge.net/octave/function/conv.html says,
>>    that it is possible to use the parameter "shape" to cut the result
>>    of the convolution
>>    down to the original vector.
>> 
>>    But this does not work for me.
>> 
>>    conv(random_scatter,gaussian,"same")
>> 
>>    error: Invalid call to conv.  Correct usage is:
>> 
>>      -- Function File:  conv (A, B)
>> 
>> 
>>    I had a look into conv.m and it does not seem to accept
>>    that parameter at all. I am using version 3.2.4.
>>    Has "shape" been implemented recently and 3.2.4 is too old?
>> 
>>    Kind regards,
>>    Walter
>> 
>> 
>> The shape parameter does look like a new addition.  If you type "help
>> conv" at the octave prompt what comes up?
>> 
>> I have 3.2.4 and it does not have support for the shape parameter.
>> 
>> Hope this helps,
> 
> I already tried that. The parameter "shape" is not documented there.
> Is is possible to extract just the conv.m from a newer release
> or do I have to compile the new version from scratch?

I don't know if it will work for you, but the most recent version is at the 
link below.

http://hg.savannah.gnu.org/hgweb/octave/file/421c892fd526/scripts/polynomial/conv.m

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]