comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Differences in the convolution function between IDL and MATLAB
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Differences in the convolution function between IDL and MATLAB [message #72141] Thu, 05 August 2010 20:53
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Aug 6, 12:28 am, hyunsprk <hyunsoor...@gmail.com> wrote:
> When I use conv() function in MATLAB,
>
> it gives following array,
>
>>> conv(a,c)
>
> ans =
>
>      1     4    10    20    35    56    70    76    73    60    36
>
> when, a=[1,2,3,4,5,6], c=[1,2,3,4,5,6].
>
> Meanwhile, IDL gives following messages,
>
> IDL> print, convol(a,c)
> % CONVOL: Incompatible dimensions for Array and Kernel.
> % Execution halted at: $MAIN$
>
> when, a=[1,2,3,4,5,6], c=[1,2,3,4,5,6].
>
> Why this differences have been occurred? These two softwares have
> difference use of convolution functions?

IDL's help explains well what convol() does. Presumably, Matlab's help
would say what conv() does, so it seems you can compare them.
[Message index]
 
Read Message
Previous Topic: Differences in the convolution function between IDL and MATLAB
Next Topic: Re: segmentation fault IDL 6.3 fedora core 13

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:52:33 PDT 2025

Total time taken to generate the page: 0.00435 seconds