Feeds
질문
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...
12개월 전 | 답변 수: 1 | 0
1
답변질문
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' ...
대략 1년 전 | 답변 수: 2 | 0
2
답변질문
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 ...
거의 4년 전 | 답변 수: 0 | 0
0
답변질문
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 ...
4년 초과 전 | 답변 수: 1 | 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); ...
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); ...
4년 초과 전 | 0
질문
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',[]) ...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
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 ...
4년 초과 전 | 답변 수: 1 | 0