Chen

Last seen: 5 månader ago Active since 2020

Followers: 0   Following: 0

Feeds

View by

Question

Assign values from an matrix to another by using row and column indexes -- array exceeds maximum array size preference
Hi So I have an image (345*345 matrix), and I did this [row, column] = find(image == 1); i.e., to get the row and column i...

1

Question

How can I adjust the space between each subplot for a 5*3 subplots setup?
I know I need to have a format like this below but I could not figure out what are the values should be in after the 'position' ...

2

Question

How can I get a matrix of ellipsoid?
I want to have a matrix of ellipsoid, without using the matlab "ellipsoid" function, or other functions, because I need to work ...

mer än 3 år ago | 0 answers | 0

0

Question

Plot a filled black circle on a certain background
I have a 344*344 grey level image with noise only. Now I want to plot a filled black circle in the middle of that gray image as ...

nästan 4 år ago | 1 answer | 0

1

Draw filled triangle and possibly change aspect ratio
a solution by myself: Use the logic of the pixels' positions: function trianglePixels = ar_t_man(i) a = zeros(150,150); ...

nästan 4 år ago | 0

Question

How can I save the final output in a matrix without manually save it on the image panel using patch?
I have code like this: x=[0 10 5]; y=[0 0 8.66]; patch(x,y,'white') set(gca,'Color','k','xticklabel',[],'yticklabel',[]) ...

nästan 4 år ago | 2 answers | 0

2

Question

Draw filled triangle and possibly change aspect ratio
How can I draw a filled equilateral triangle (actually white) with background black? I don't want to have any x and y axis on th...

nästan 4 år ago | 2 answers | 0