Community Profile

# Michael Hawks

### Resonant Sciences

Last seen: 8 months ago Active since 2013

All

#### Content Feed

View by

create a vector of all the odds positive integers smaller than 100 in increasing order to save it into a variable
You were close. You just need to change one digit from your command to look like this: odds = [1:2:99] The '2' in the 2nd pos...

3 years ago | 0

How can I merge different regions in a binary image?
I think you want to first create a binary image using a threshold test. If your image is named Image, then th = 128; bin = (I...

4 years ago | 0

How do I find the area of the image in meters using MATLAB?
I agree with gonzalo -- it's not really a Matlab question. But if you know anything about your camera you could also solve it t...

4 years ago | 1

| accepted

Append rows at the end of Matrix
Another method: a = [1 2 3 ; 4 5 6; 7 8 9]; b=[5 5 5]; a( end+1, : ) = b; or a( :, end+1 ) = b';

4 years ago | 1

Shrinking image by averaging
Try this: Nrow = 12; Ncol = 15; input = rand(Nrow,Ncol); shifts = [0 0; 0 1; 1 0; 0 -1]; A = zeros(Nrow,Ncol,4...

4 years ago | 1

how to write fitness function for PSO other optimization techniques? if we have 2 output parameter and 3 input parameter.
The best approach will depend a lot on your data. A good first step might be to look at pairs of parameters using cftool. This...

4 years ago | 0

How to force numerator and denominator coefficients to be >0 in tfest?
Estimating transfer functions from noisy data can be tricky, but forcing values to be >= 0 is pretty easy so I'll stick to that ...

4 years ago | 0

Question

Trouble with built-in MEX file (in Image Processing toolbox)
When I use BWMORPH (in the Image Processing toolbox) I get the error "undefined function `applylutc` for input arguments of type...

7 years ago | 1 answer | 0