what is the problem when running the code 2 times?

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 个评论

We have no idea.
We cannot run it at all!
Try clear all before running the code.
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 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

产品

提问:

2017-12-30

评论:

Jan
2017-12-31

Community Treasure Hunt

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

Start Hunting!

Translated by