why are these values not equal?
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
>> xx = temp_ComplexArray_12_0 * [MMSEInterfCgema{85351:85500}];
>> zz = MMSEFactor' * [MMSEInterfCgema{85351:85500}];
>> find(MMSEFactor'~=temp_ComplexArray_12_0)
ans =
   Empty matrix: 0-by-1
>> find(vpa(MMSEFactor',10000) ~= vpa(temp_ComplexArray_12_0,10000))
ans =
   Empty matrix: 0-by-1
>> zz(1,2),xx(1,2),zz(1,2)-xx(1,2)
ans =
      2.190108828498517e-08 - 2.547437668329938e-08i
ans =
      2.190108828498517e-08 - 2.547437668329917e-08i
ans =
                          0 - 2.117582368135751e-22i
WHY zz is not equal to xx ? version : 2012a
THANK YOU~ if you can explain it
0 comentarios
Respuesta aceptada
  Thomas
      
 el 3 de Jun. de 2012
        This might help
href=""<http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F</a>>
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Operators and Elementary Operations en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

