Community Profile

photo

Matthew Worker


Active since 2013

Statistics

  • First Review

View badges

Content Feed

View by

Question


Fit and display multiple gaussians on a data set
I have a test data set (attached) that I want to display with two closely spaced gaussians. An example of how the data should lo...

3 months ago | 1 answer | 0

1

answer

Question


How to randomly propagate 100 random targets with random headings (uniformly sampled over [0, 2π])
So I contructed a 2048x1024 pixel background image with the signal normally distribution at mean 0 and standard deviation 5 (arb...

6 months ago | 1 answer | 0

1

answer

Question


put two matrices in one matrix, one will take the odd column and the other one take the even column.
A is a matrix 4x5 B is a matrix 4x5 C=[A B] 4x10 .. A and B will be combined in a matrix C where A take the odd column and B ...

7 months ago | 1 answer | 0

1

answer

Question


Sum 2 Matrices and take the average value of their summation and store them in another Matrix with the same dimension.
% in this code, I import 2 text files, C_Total_1 and C_Total_2. I want to take the average of the sum of these two variables, th...

7 months ago | 1 answer | 0

1

answer

Question


Sum 2 Matrices and take the average value of their summation and store them in another Matrix with the same dimension.
% in this code, I import 2 text files, C_Total_1 and C_Total_2. I want to take the average of the sum of these two variables, th...

7 months ago | 1 answer | 0

1

answer

Question


The left and right sides have a different number of elements
please help me fix the error~~~ this is my code and %% 3. Fourier descriptor %① Make the matrix above. %Find the positio...

7 months ago | 1 answer | 0

1

answer

Question


How do you write this "| "symbol in MATLAB?
How i would write that symbol in MATLAB? i left it out and even tried'/' but i keep getting warnings within the script ...

7 months ago | 2 answers | 0

2

answers

Question


Image segmentation but 'edge' does not work
i need this result, to outline it in red but i keep getting this error message. Error using activecontour>parse_inputs (lin...

7 months ago | 2 answers | 0

2

answers

Question


I want BER instead of SNR in the x-axis .. What is the relation that changes SNR to BER
This is the value of Signal to noise ratio ..... SNR = -20:6:10; %Signal to Noise Ratio I want BER instead of SNR in the x-ax...

7 months ago | 1 answer | 0

1

answer

Question


Why does my screen go black?
My region filled image and skeletonized image just appears black I fill in all the bones using the function below %% 3. Region...

8 months ago | 1 answer | 0

1

answer

Question


Why does dilate and erode images produce black images?
Did i do something wrong with nhood variable? %% 1. Dilation and Erosion %a. Apply dilation and erosion to “lung.jpg” using 3x...

8 months ago | 2 answers | 0

2

answers

Question


What is '1butter' in this Wiener Filter code?
MATLAB doesnt recognise the 1butter in this code of Wiener Filtering on an image in MATLAB

8 months ago | 1 answer | 0

1

answer

Question


How to turn code into a class?
I coded the program below for frequency domain filtering and functions well. I have to use it repeatedly to apply different fi...

9 months ago | 1 answer | 0

1

answer

Question


Frequency Domain Filtering by Convolution Theorem
So the program works but i get warning messages, i attached the imag as well %% 4. Perform frequency domain filtering by Convol...

9 months ago | 1 answer | 0

1

answer

Answered
why is my difference image black?...
https://www.mathworks.com/matlabcentral/answers/1467816-why-is-my-difference-image-black#comment_1770511

9 months ago | 0

| accepted

Question


why is my difference image black?...
the program works but my difference image is just black...did i do something wrong? or is there a way to make it visible? %% ...

9 months ago | 2 answers | 0

2

answers

Question


Why do I keep getting a black image when i dont use []?
What is the difference between using [] with imshow and dividing an image by a scalar before using imshow fxn? Is my code wrong...

9 months ago | 2 answers | 0

2

answers

Question


How to change a 3x3 median filter to 5x5?
My code works, but i need a 5x5 filter not 3x3. I tried to alter the code to get the 5x5 but keep getting an error %% 2. Median...

9 months ago | 1 answer | 0

1

answer

Question


Is there an alternative to 5x5 median filter in MATLAB?
I want the same result, but without using medfilt2 x=imread('sadimg.bmp'); y= medfilt2(x,[5 5])

9 months ago | 2 answers | 0

2

answers

Question


5 x 5 median filter with out inbuilt function
I am required to use just median() not medfilt2() Please help with the code %% 2. Median Filter sad1=imread('sadimg.bmp'); ...

9 months ago | 1 answer | 0

1

answer

Question


using median() instead of medfilt2()
I am not sure how to do part b and well hence c as well. can you help with how to code this my teacher requested using median...

9 months ago | 2 answers | 0

2

answers

Question


histogram specialization, imhist error
%5f)Make CDF of ‘hist_desired’ and ‘hist_xray2’ and store them into ‘cdf_desired’ and ‘cdf_input’ x_ray2=imread('x_ray2.pn...

9 months ago | 1 answer | 0

1

answer

Question


PWM measurement port conection
Hello! what block I have to connect to PWM generator (2-level 4 - pulses) to measure measurement port output? Thank you in advan...

10 months ago | 1 answer | 0

1

answer

Question


This is a part of a code and I want to add something to it, description below
%This is a part of a code and I want to add something to it so instead of Deleting all the Users row from Heff that correspondin...

10 months ago | 1 answer | 0

1

answer

Question


I have a Matrix , and I want to multiply this Matrix with something so I can get zeros
% for an example *(pinv(P1))*P1=unity Matrix I want the same thing : ?*P1=zeros %This ? should be related to P1 like the above...

10 months ago | 2 answers | 0

2

answers

Question


I want to change the size of T so I can Add it to P2 (the size of T should be the size of P1 or the size of P2)
P1=[3 2 4;2 1 1;5 2 3;2 3 7] P2=[2 6 1;1 3 5;4 2 1;5 2 1]; P1_Zero=pinv(P1) T=P1_Zero*P1 Q=P2+T

10 months ago | 1 answer | 0

1

answer

Question


hi I want to solve this problem using posted script.
Problem: Another formula for computing "pi" can be deduced from the identity pi/4 = 4arctan1/5— arctan1/239. Determine the numbe...

10 months ago | 1 answer | 0

1

answer

Question


I want find the reason for this error message.
I am having trouble finding the reason behind this error message. I chechked my function again and again. but do not know why it...

10 months ago | 1 answer | 0

1

answer

Question


how to draw a directional field for this equation?
I am trying to plot directional field for these differential eq.s a) y’= 0.1y-sin(y) b) y’ = y^2-3*y+1 c) y’ = -y(y-2)(y-4)/...

10 months ago | 1 answer | 0

1

answer

Load more