Deleting Some Specific Entries from a vector
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mücahit Özalp
el 21 de Ag. de 2021
Editada: Mücahit Özalp
el 13 de Jul. de 2024 a las 20:48
Steven Lord
ha marcado con alerta este/a pregunta
0 comentarios
Respuesta aceptada
Wan Ji
el 21 de Ag. de 2021
Just do with the following
q = abs(yb);
p = (q==0|q==1|q==0.6|q==0.8);
xa = yb(~p)
if it does not work, use a tolerance TOL
TOL = 1e-5
q = abs(yb);
p = (q<=TOL|abs(q-1)<=TOL|abs(q-0.6)<=TOL|abs(q-0.8)<=TOL);
xa = yb(~p)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Calculus 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!