hurbustein
2008-07-24, 15:27
我写了一个程序,但结果是出来了,可我不知道结果对不对,并且出现了这个,怎么回事啊
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.
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.