photo

Chen


Last seen: environ un mois il y a Actif depuis 2020

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 2
  • Thankful Level 1
  • First Review

Afficher les badges

Feeds

Afficher par

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

environ un an il y a | 1 réponse | 0

1

réponse

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

environ un an il y a | 2 réponses | 0

2

réponses

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

presque 4 ans il y a | 1 réponse | 0

0

réponse

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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); ...

plus de 4 ans il y a | 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',[]) ...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

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

plus de 4 ans il y a | 2 réponses | 0

2

réponses

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse