Community Profile

photo

Fat Man


Active since 2019

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


How to removing data of structure field?
I have a structure array with 4 fields below: st = struct('piece',{1,1,3,4},'food',{'cheerio','marshmallow','pizza','cereal'},'...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


How to get the size of a region in an image?
How can I get the size of the green region in the image?? By using funtion any() and sum() on my mask index Or any other way...

meer dan 4 jaar ago | 2 answers | 0

2

answers

Question


Stretch the middle of image
Suppose I have a .png How can I use Matlab to stretch the middle third of the image in horizontal direction by a factor of 2? ...

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


Using for loop to count how many times a content appears in a cell array?
Hello MATLAB Experts, Suppose I have a cell arr arr I want to use for loop to get the pattern of each different words in the c...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


How to remove \n and empty line after combine all the lines into an array
I have a txt file 'map1.txt' 1 Ai.A 2 i.i. 3 .Aii 4 AiiA I want to concatenate all the lines of the file into a...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


Replace numbers into a vector starts at the center? Looking for general format
Suppose I have a vector vec with the length will be an odd number. Then I have another vector vec1 with the length is also o...

bijna 5 jaar ago | 2 answers | 0

2

answers