Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
What does diff(one inequality) do?
조회 수: 4 (최근 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!