Community Profile

# Stephen

### University of Florida

Last seen: 10 mesi fa Attivo dal 2012

All

#### Content Feed

Visto da

Risolto

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:...

oltre 4 anni fa

Risolto

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 ...

circa 7 anni fa

Risolto

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...

circa 10 anni fa

Risolto

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...

circa 10 anni fa

Risolto

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]

circa 10 anni fa

Risolto

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...

circa 10 anni fa

Risposto
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...

oltre 11 anni fa | 0

Risposto
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,...

oltre 11 anni fa | 0

Risposto
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...

oltre 11 anni fa | 0

Risposto
Creating an infinite loop until an event occurs?
go = true; while go step1 step2 step3 if step3==stopcriteria go=false end ...

oltre 11 anni fa | 1

| accettato

Risposto
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...

oltre 11 anni fa | 0

Risposto
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...

oltre 11 anni fa | 0

| accettato

Risposto
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...

quasi 12 anni fa | 0

Domanda

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...

quasi 12 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Dynamic 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...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 1

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

quasi 12 anni fa | 0

Domanda

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...

quasi 12 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Detect 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...

quasi 12 anni fa | 2

Risposto
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...

quasi 12 anni fa | 0

| accettato

Risposto
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, ...

quasi 12 anni fa | 0

Risposto
manual segmentation of image
imfreehand methods imfreehand

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Risposto
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, ...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

Risposto
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 ...

quasi 12 anni fa | 0

Risposto
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...

quasi 12 anni fa | 0

| accettato