필터 지우기
필터 지우기

getting absurd output when running the program first time

조회 수: 1 (최근 30일)
Aditya
Aditya 2011년 3월 17일
sir i have written a matlab program.when i run the program then first time i get a arbitary(wrong)plot but second time correct output.i want to get the correct output when i run the program first time.

답변 (1개)

Jan
Jan 2011년 3월 17일
Obviously your program contain a bug. E.g. it could be a script and define the needed values after the plotting. Then the 2nd run can access these values, but the first not - perhaps.
Please post the relevant part of your program, which reproduces the error. Otherwise it is absolutely impossible to guess, what the problem is.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by