Info
この質問は閉じられています。 編集または回答するには再度開いてください。
What does diff(one inequality) do?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Stephen23
2021 年 8 月 24 日
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.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!