Community Profile

photo

Steven M


Last seen: Today 2017년부터 활동

Followers: 0   Following: 0

Aerospace Engineering undergraduate student at KU

통계

All
  • Thankful Level 1
  • Commenter
  • Solver

배지 보기

Feeds

보기 기준

질문


How to place a number in a random position in a matrix of zeros?
I have a matrix "m" of zeros(6,7) and I would like to know how to place a variable equaling 1 into a random spot in the matrix. ...

대략 7년 전 | 답변 수: 1 | 1

1

답변

질문


I am trying to find the number of nonzero elements I have in a matrix without using the nnz function.
Is there a way I can use sums or another function to add up the number of nonzero elements in a matrix. I know of the nnz funct...

대략 7년 전 | 답변 수: 2 | 0

2

답변

질문


How to find which column in a matrix/array has a nonzero value?
I am given a matrix: x = zeros(6,7) which can have one random nonzero value in the sixth row and I need to be able to det...

대략 7년 전 | 답변 수: 1 | 0

1

답변