**Statistics**

RANK**1,039**

of 271,197

REPUTATION**54**

CONTRIBUTIONS

**6** Questions

**51** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**7**

RANK

of 18,292

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved

Find the longest sequence of 1's in a binary sequence.

Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

9 years ago

Solved

Bullseye Matrix

Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

9 years ago

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

9 years ago

Solved

Is my wife right? Now with even more wrong husband

Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

9 years ago

Steepness of a Histogram

if he had an exponential distribution vs. a normal, there's different 'steepness' in each one depending on what you examine, but...

10 years ago | 0

Plotting data labels with the mapping toolbox

could you just refresh the original background image and only plot the updated city info? Completely erase the pre-existing map,...

10 years ago | 0

Want to create a 3d graph of chi^2 for a 2d data set /w 3 parameters

it looks like X and Y are not a single value, but the result of meshgrid, and when you perform the .* operations with the 1001 e...

10 years ago | 0

Creating an infinite loop until an event occurs?

go = true; while go step1 step2 step3 if step3==stopcriteria go=false end ...

10 years ago | 1

| accepted

image deblurring or noise removal

try doing the same process to a matrix of ones and using ./ to get rid of the vignetting effect. Probably, whatever you're doing...

10 years ago | 0

Making multiple matrices at once?

make a structured variable for t=1:n^2 V(t).matrix=zeros(n); end Call them by V(t).matrix and get spec...

10 years ago | 0

| accepted

plots - graphics quality poor

save them as jpegs or something... you can make lines thicker with the set() command and change the default font and stuff. b...

10 years ago | 0

Question

soundsc

So, I noticed that you can't cntr + c out of the sound playback from soundsc. Is there a way to kill the horrible noises I'm mak...

10 years ago | 1 answer | 0

### 1

answerDynamic color for a plot

if you want to change a bunch of stuff with plot, you could do it like this: mark=['^';'s','o','.','x'] for t=1:5 h...

10 years ago | 0

Unknown Error

if the function usually outputs 1 thing and you ask for more, it will give you that error. for example, function ans = myfu...

10 years ago | 0

gaussian and rayleigh distribution MRI Late Enhancement

[c1, c2] = hist(I(:), 50); f=fit(c2', c1', 'gauss1'); or for the rayleigh, you'd have to specify it in fittype where 'g...

10 years ago | 0

Video capture

that's not really a matlab question, but why can't you just save video to your camera's storage device and import it later throu...

10 years ago | 0

bwlabel changing connectivity of image

I agree with Image Analyst. Is your image a jpg or has it been compressed? If so, there are little ghosts that lurk as low inten...

10 years ago | 1

storing data from function

So, you have: function something [sound, freq] = wavread(file); end ? If so, you need to output those valu...

10 years ago | 0

Question

just a question

let's say i have the image: img = [1 0 -1; 0 -1 0; 1 1 -1]; and I'd like to get the values on the 8-connected...

10 years ago | 1 answer | 0

### 1

answerDetect a human figure in a live video

if the camera is static, take a blank image and subtract it from the live feed to get a rough idea of what pixel values have cha...

10 years ago | 2

composite function

plot(C,A) you can plot anything against anything else. If A and C correspond to the same values of B then the above code sh...

10 years ago | 0

| accepted

colorbar: cdata and colors

imagesc automatically scales your image to 'fit' to the colorbar. It can be a huge pain sometimes. If you can get away with it, ...

10 years ago | 0

how to select certain shape from different images?

haha, Walter :) You can use the rucklidge algorithm. It relies on the haussdorf distance of a set of points, say the 10 point...

10 years ago | 0

Re-Asking a Question: Creating a Connection Matrix from an indexed point set

after looking at it for a while I think I understand. let me use N=3 to try and restate what you've asked... from points, ...

10 years ago | 0

How to save/access an axes's properties using the handles structure?

I used to know how to answer this better, and maybe a bit of reading will answer based on my advice. In each function of the GUI...

10 years ago | 0

determine the angle of image

show the image somehow and use: pos = ginput(3); it will give you the option to chose three points on your image. click ...

10 years ago | 0

converting a image

im2col(a,[64 64],'distinct') will give you your blocks as columns that you just need to reshape into squares again. I can't h...

10 years ago | 0

| accepted