photo

Chen


Last seen: ungefär 2 månader ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Thankful Level 1
  • First Review

View badges

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

ungefär ett år ago | 1 answer | 0

1

answer

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

ungefär ett år ago | 2 answers | 0

2

answers

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

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

0

answers

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

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

1

answer

Answered
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); ...

mer än 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',[]) ...

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

2

answers

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

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

2

answers

Question


ERROR: FMINCON requires all values returned by functions to be of data type double.
I have this function evalQ_test: function Q = evalQ_test(x) %%% %%% Q_1 = x(1)+x(2); %%% Q=double(-(Q_1+Q_2+Q_3)); end I ...

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

1

answer