Community Profile

photo

Alec Gutmanstein


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Is there a way to count number of "objects" in a matrix?
Let's say I have a 5x5 matrix of 1s with 2s located at (1,1) and (2,4) and (4,5) or any assortment of points. Am I able to "coun...

8 years ago | 1 answer | 0

1

answer

Question


How do I pick a value in a matrix of characters?
I need to do something that is similar to what is seen here: http://www.mathworks.com/matlabcentral/answers/203608-how-to-pick-...

8 years ago | 1 answer | 0

1

answer

Question


How do I input a different character into a matrix full of characters?
I have generated a matrix using the following code (width and height are user input): field = ones(width,height) .* 'O'; f...

8 years ago | 1 answer | 0

1

answer