Community Profile

photo

Fat Man


6 total contributions since 2019

Fat Man's Badges

  • Thankful Level 2

View details...

Contributions in
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'},'...

5 months 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...

6 months 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? ...

6 months ago | 1 answer | 0

1

answer

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...

6 months 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...

6 months 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...

6 months ago | 2 answers | 0

2

answers