matlab7.0怎么建立函数,matlab7.0 怎么用不了CONV函数

我在用卷积函数CONV时总会出现下面的问题:

------------------------------------------------------------------------

Segmentation violation detected at Sun Dec 14 12:46:47 2008

------------------------------------------------------------------------

Configuration:

MATLAB Version:   7.0.0.19920 (R14)

Operating System: Microsoft Windows XP

Window System:    Version 5.1 (Build 2600: Service Pack 3)

Processor ID:     x86 Family 15 Model 11 Stepping 2, AuthenticAMD

Virtual Machine:  Java 1.4.2 with Sun Microsystems Inc. Java HotSpot(TM) Client VM

(mixed mode)

Default Charset:  ibm-1386_P100-2002

Register State:

EAX = 0bf675d0  EBX = 00000002

ECX = 00cddd8c  EDX = 00cddd98

ESI = 00000002  EDI = 0bf6beb0

EBP = 00cddd84  ESP = 00cddd60

EIP = 00000000  FLG = 00010246

Stack Trace:

[0] numerics.dll:??$mlDaxpyTEMPLATE@N@@YAXHPAN0H0H@Z(2, 0x0bf6beb0, 0x0bf675d0, 1) + 166 bytes

[1] numerics.dll:??$mlCaxpyTEMPLATE@N@@YAXHPAN000H00H@Z(2, 0x0bf6beb0, 0, 0x0bf675d0) + 852 bytes

[2] numerics.dll:??$mlFilter@N@@YAXHPAN0H00H000000@Z(1, 0x0bd85200, 3, 2) + 511 bytes

[3] numerics.dll:??$mfFilterFcns@N@@YAXHQAPAUmxArray_tag@@H0N@Z(1, 0x00cde084, 3, 0x00cddf30) + 2169 bytes

[4] numerics.dll:void __cdecl mfFullFilterFcn(int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(1, 0x00cde084, 0xffffff3c, 0x00cddff4) + 398 bytes

[5] m_dispatcher.dll:public: virtual void __thiscall Mfh_builtin::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cde084, 3, 0x00cddff4) + 55 bytes

[6] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cde084, 3, 0x00cddff4) + 200 bytes

[7] m_interpreter.dll:void __cdecl inJitCallMatlabFunctionPtrNoDestroy(class Mfh_MATLAB_fn *,int,int,struct mxArray_tag * * const,int,struct mxArray_tag * * const)(0x0135c7e0, 342, 1, 0x00cde084) + 89 bytes

[8] m_interpreter.dll:int __cdecl accelExec(struct _accelBytecode *,enum inMarshalType *)(0x0bd85630, 0x00cde25c, 0, 18) + 16855 bytes

[9] m_interpreter.dll:_inExecuteHotSegment(0x00cde290, 0x00cde2ec, 0x00cde2dc, 0x00cde77c) + 1542 bytes

[10] m_interpreter.dll:int __cdecl inExecuteMFunctionOrScript(class Mfh_mp *,bool)(0x0bef4780, 0, 2, 2) + 610 bytes

[11] m_interpreter.dll:_inWordsj(1, 0x00cde71c, 2, 0x00cde77c) + 441 bytes

[12] m_interpreter.dll:public: void __thiscall Mfh_mp::inRunMP(int,struct mxArray_tag * *,int,struct mxArray_tag * *,struct inWorkSpace_tag *)(1, 0x00cde71c, 2, 0x00cde77c) + 158 bytes

[13] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(struct _mdUnknown_workspace *,int,struct mxArray_tag * *,int,struct mxArray_tag * *)(0, 1, 0x00cde71c, 2) + 28 bytes

[14] m_interpreter.dll:public: virtual void __thiscall Mfh_mp::dispatch_file(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cde71c, 2, 0x00cde77c) + 26 bytes

[15] m_dispatcher.dll:public: virtual void __thiscall Mfh_file::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cde71c, 2, 0x00cde77c) + 273 bytes

[16] m_interpreter.dll:_inDispatchFromStack(561, 0x0c0937a4 "conv", 1, 2) + 891 bytes

[17] m_interpreter.dll:enum opcodes __cdecl inDispatchCall(char const *,int,int,int,int *,int *)(0x0c0937a4 "conv", 561, 1, 2) + 111 bytes

[18] m_interpreter.dll:int __cdecl inInterp(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag volatile *)(2, 0, 0, 0) + 2411 bytes

[19] m_interpreter.dll:int __cdecl inInterPcodeSJ(enum inDebugCheck,int,int,enum opcodes,struct inPcodeNest_tag *)(2, 0, 0, 0) + 272 bytes

[20] m_interpreter.dll:_inInterPcode(2, 0x7876f2d8, 0, 0) + 69 bytes

[21] m_interpreter.dll:enum inExecutionStatus __cdecl in_local_call_eval_function(int *,struct _pcodeheader *,int *,struct mxArray_tag * * const,enum inDebugCheck)(0x00cdf2c8, 0x00cdf3bc, 2, 0x0b948ab0 "deng1=conv([5 2],[0.05 2]);\n") + 162 bytes

[22] m_interpreter.dll:$L72592(0x7876f2d8, 0x0b948ab0 "deng1=conv([5 2],[0.05 2]);\n", 28, 0) + 196 bytes

[23] m_interpreter.dll:enum inExecutionStatus __cdecl inEvalCmdWithLocalReturnandtype(char const *,int *,enum inDebugCheck)(0, 2, 1, 0x00cdf44c "趑�) + 86 bytes

[24] m_interpreter.dll:_inEvalCmdNoEnd(0x0b948ab0 "deng1=conv([5 2],[0.05 2]);\n", 0x00cdf4e4, 0x00cdf4a0, 0x014c5cb0) + 16 bytes

[25] bridge.dll:_mnParser(0x7c80b731, 0x014c5cb0, 0, 0) + 431 bytes

[26] mcr.dll:public: void __thiscall mcrInstance::mnParser(void)(271244, 0x6d5c3a44, 0x616c7461, 0x302e3762) + 87 bytes

[27] MATLAB.exe:0x00401d2f(4194304, 0, 271244, 0x014c5cb0)

[28] MATLAB.exe:0x00403e45(594808, 0x7c93003d, 0x7ffde000, 0x8054c6ed)

[29] kernel32.dll:0x7c817067(0x00403cc0 "jth(U@", 0, 0, 0)

Please follow these steps in reporting this problem to The MathWorks so

that we have the best chance of correcting it:

1. Send this crash report to segv@mathworks.com for automated analysis.

For your convenience, this information has been recorded in:

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\matlab_crash_dump.1332

2. Also, if the problem is reproducible, send the crash report to

support@mathworks.com along with:

- A specific list of steps that will reproduce the problem

- Any M, MEX, MDL or other files required to reproduce the problem

- Any error messages displayed to the command window

A technical support engineer will contact you with further information.

Thank you for your assistance.  Please save your workspace and restart

MATLAB before continuing your work.

Error in ==> conv at 40

c = filter(a, 1, b);

请教高手了!

[本帖最后由 edifiers2008 于 2008-12-14 16:02 编辑]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值