Variable order matrix with some constant value entry

How to make a matrix with all entries of -1 with a desired order. I want to make a matrix L= [-1 ;-1 ;-1], but size of L is another variable. i.e. I want L = -1 of size (x,y)

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2013년 11월 10일

댓글:

2013년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by