How to find when a surface deviates from other surface(s)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
A
el 15 de Abr. de 2014
Hi guys,
I have 3 surfaces. I want to find out values for x and y, where each of the three surfaces deviates from the other two by more than 0.5 value on the z axis. Is this a simple enough thing?
I can imagine it being super easy to do with only two surfaces because you could just substract one from the other. But how do I do it with 3 surfaces? Any ideas?
Thanks
0 comentarios
Respuesta aceptada
Walter Roberson
el 15 de Abr. de 2014
OfInterest = any(diff( sort( cat(3, surface1Z, surface2Z, surface3Z), 3), 3) > 0.5, 3);
This will be a logical array.
3 comentarios
Walter Roberson
el 15 de Abr. de 2014
image(ofInterest + 0)
or
image(ofInterest);
colormap(gray(2));
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots 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!