Borrar filtros
Borrar filtros

what is the problem when running the code 2 times?

1 visualización (últimos 30 días)
Good mind
Good mind el 30 de Dic. de 2017
Comentada: Jan el 31 de Dic. de 2017
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 comentarios
Kaushik Lakshminarasimhan
Kaushik Lakshminarasimhan el 30 de Dic. de 2017
Try clear all before running the code.
Jan
Jan el 31 de Dic. de 2017
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?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by