Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
What does diff(one inequality) do?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, everyone, I saw a line of code: A=diff(B>=C), I am not sure what it does. Does it mean that, if B>=C, then do the differentiation between B and C? Hope someone with experience can help me answer this question. Thanks a lot.
2 comentarios
Stephen23
el 24 de Ag. de 2021
Lets try it:
B = rand(1,11);
C = rand(1,11);
V = B>=C
A = diff(V)
So far everything behaves just as the GE and DIFF documentation explain.
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!