Community Profile

photo

Ba Ba Black Sheep!


Last seen: 3년 초과 전 2016년부터 활동

Followers: 0   Following: 0

연락

통계

  • Thankful Level 4

배지 보기

Feeds

보기 기준

질문


1d Convolution using Matlab's conv() function
According to the documentation(https://www.mathworks.com/help/matlab/ref/conv.html), len(output) = len(input) + len(kern...

5년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Can anyone explain this output of 1d conv() function?
>> u = [1 2 3]; >> v = [1 2 3]; >> w = conv(u, v) w = 1 4 10 12 9 >> Can anyone explain this output? ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why is this Gaussian function has nonconformant arguments error?
function m=gaussian(med, var, n) if ( mod(n, 2)==0 ) n=n+1; end; med=double(med); var=double(var); m...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


2D convolution in in Matlab.
I = imread ("lena.jpg"); %imshow(I); K = I; C = conv2(I, K); imshow(C); I am expecting something like the follo...

거의 6년 전 | 답변 수: 2 | 0

2

답변

질문


Explanation of source code written in Matlab
What does the following function accomplish? Can anyone tell me what the following code is doing and how is it doing that? ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How do I know when to use loops and when to use vectorization?
In *<https://www.mathworks.com/matlabcentral/answers/359415-how-can-i-convert-matrix-to-cell-array-of-strings this question>*, t...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I convert matrix to cell array of strings?
I want to convert the following: mat = [1 2 3; 4 5 6 ; 7 8 9]; into the following array of strings, arr = {'1,2(3)', ...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


What does the following code do?
If we have, [row_num, col_num] = size(img); What does the following code do? function length_vec = compute_angular_l...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Is this the proper way of using ListBox?
I am learning Matlab GUI programming. I have written the following basic program to test ListBox GUI control. The following p...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


what is repmat() doing in the following code?
function handles = Open_Image(hObject, eventdata, handles, type, axesIm) % if the file-name and path-name are not epty....

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


hslider=findobj('Tag', 'xText') returns 0x0 empty GraphicsPlaceholder array.
>> SliderTool >> hslider=findobj('Tag', 'xText') hslider = 0x0 empty GraphicsPlaceholder array. >> Why is t...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Undefined operator '*' for input arguments of type 'matlab.ui.control.UIControl'.
The following function is giving an error, function tf = GUI_ListBoxAdd(vH, bUni, vStr, vID); % Add an entry to a GUI li...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I eliminate as many loops as possible from the following code?
The following source code uses 4 loops at a time. My program is deadly slow. *How can I eliminate as many loops as possible ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I vectorize the following code?
*main.m* I = imread('bear.png'); J = rgb2gray(imread('marked_bear.png')); mask = I-J; for r=1:size(I,1) ...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Showing multiple images in one window in Matlab
Why doesn't the following code show the images? clear all; image_name = 'woman.png'; I = gray_imread(image_nam...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


How can I reduce the space between images?
The following source code has three problems: # it can't show only one image. # it doesn't preserve the original aspect rati...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Drawing a white line on an image using (rho, theta).
I want to draw a line on the following image using |(| |rho| |,| |theta| |)| of the detected line using the Hough transformation...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Finding the angle of inclination from two end points of a line.
<</matlabcentral/answers/uploaded_files/80859/Scratch1.png>> point1 = [22, 114]; point2 = [693, 233]; x1 = point1(1); ...

거의 7년 전 | 답변 수: 1 | 1

1

답변

질문


Hough Transform source code explanation
I couldn't understand the following code's *|for|* loop. What is the purpose of the for loop here? Why is *|for|* iterati...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Why is empty string test failing?
<</matlabcentral/answers/uploaded_files/75690/Untitled.png>> . This GUI's source code is giving me error message: func...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Image processing code explanation.
lambda = 4;%8 theta = 0; psi = [0 pi/2]; gamma = 0.5; bw = 1; N = 12; ...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Edge detection error message
Why isn't the following code working? >> str=sprintf('Scratch1.jpg'); >> img_ORG = imread(str); >> fsc = edge(img_OR...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Image enhancement MATLAB code.
% Adjust image intensity values or colormap. f = imadjust(uint8(scratched_image), stretchlim(scratched_image), [0 1]); ...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Convolution of a color image to itself.
'Untitled.png' is a color image of 48x48 size. >> i = imread('Untitled.png'); >> v = i(:); >> c = conv2(v, v); War...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Why is the colormap not working as expected?
In the following program *|cellImage|* and *|spineImage|*, both are being displayed in *|jet|*. One of them should be gray an...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Error using besselj. NU and Z must be the same size or one must be a scalar.
What is wrong with the following program? Z = (0:0.2:9)'; NU = 0:5; y = besselj(NU, Z); % Bessel function plo...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


Optimization is generating error plotting pareto front
The following code is generating the following error, >> main Optimization terminated: average change in the spread of P...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Multi objective optimization of a 2D function.
I need to optimize the following function, <</matlabcentral/answers/uploaded_files/67093/Untitled.png>> . I have writte...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Finding Pareto Front of Shaffer's 2nd function.
I couldn't understand what was wrong with the following code of mine, *|main.m|* x = -5:0.1:5; y = schaffer2(x); ...

7년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Objective function vs fitness function.
What is the difference between an Objective Function and a Fitness Function? Are Objective Functions only used in Linear Prog...

7년 초과 전 | 답변 수: 2 | 0

2

답변

더 보기