필터 지우기
필터 지우기

i want to initialize a matrix of 3x3 to value -1 how this colud be done?

조회 수: 4 (최근 30일)
M=zeros(3,3); intialize M with zeros of 3x3 but what to do if i want to initialize it with -1
i.e
-1 -1 -1
-1 -1 -1
-1 -1 -1
can anybody help me

채택된 답변

Yao Li
Yao Li 2013년 4월 11일

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by