MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]Divide by zero. (https://www.labfans.com/bbs/showthread.php?t=3991)

hurbustein 2008-07-24 15:27

[求助]Divide by zero.
 
我写了一个程序,但结果是出来了,可我不知道结果对不对,并且出现了这个,怎么回事啊
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)

Warning: checkLine: Invalid line (708) should be in the range [0,534]
Exception occurred during event dispatching:
java.lang.IllegalArgumentException: Invalid index (708) should be in the range [0,534]
at com.mathworks.util.IntBuffer.checkHelper(IntBuffer.java:376)
at com.mathworks.util.IntBuffer.checkIndex(IntBuffer.java:370)
at com.mathworks.util.IntBuffer.getAt(IntBuffer.java:311)
at com.mathworks.mwt.text.LineMgr.getLineStart(LineMgr.java:77)
at com.mathworks.mwt.text.MWTextModel.getLineStart(MWTextModel.java:487)
at com.mathworks.mwt.text.MWTextView.posFromPixelX(MWTextView.java:2669)
at com.mathworks.mwt.text.MWTextView.posFromPixel(MWTextView.java:2724)
at com.mathworks.mwt.text.MWTextView.posFromPixel(MWTextView.java:2714)
at com.mathworks.mwt.text.MWTextView.handleCursor(MWTextView.java:1439)
at com.mathworks.mwt.text.MWTextView.access$22(MWTextView.java:1415)
at com.mathworks.mwt.text.MWTextView$MouseEventHandler.mouseMoved(MWTextView.java:5289)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at com.mathworks.mwt.text.MWTextView$TextCanvas.processMouseMotionEvent(MWTextView.java:6816)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.
(Type "warning off MATLAB:divideByZero" to suppress this warning.)
Warning: Divide by zero.


所有时间均为北京时间。现在的时间是 11:04

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.