Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
What does diff(one inequality) do?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Stephen23
il 24 Ago 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.
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!