필터 지우기
필터 지우기

what is the problem when running the code 2 times?

조회 수: 1 (최근 30일)
Good mind
Good mind 2017년 12월 30일
댓글: Jan 2017년 12월 31일
when i run my code i get the results(for example values of snr and mse), but when i run second time the same code and without changing any thing i get another results with the difference of 1,.. or 0.5 and so on. what is the problem?
  댓글 수: 3
Kaushik Lakshminarasimhan
Kaushik Lakshminarasimhan 2017년 12월 30일
Try clear all before running the code.
Jan
Jan 2017년 12월 31일
Maybe a rand() inside the code? Or is it a script and you forgot to initialize a variable? How could we know without seeing the code?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by