필터 지우기
필터 지우기

the use of eye command?

조회 수: 9 (최근 30일)
metin yilmaz
metin yilmaz 2020년 11월 5일
답변: James Tursa 2020년 11월 5일
Would you please explain the meaning of this use of eye command?
>>eye (2,4)
ans=
1 0 0 0
0 1 0 0
Thanks.

채택된 답변

James Tursa
James Tursa 2020년 11월 5일
eye(M,N) creates an MxN matrix with 1's along the main diagonal (from the upper left corner down towards lower right) and 0's everywhere else. The usage would depend on the user's needs.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by