Community Profile

Stephen

University of Florida

Last seen: etwa 2 Jahre vor Aktiv seit 2012

Statistics

All

Abzeichen anzeigen

Content Feed

Anzeigen nach

Gelöst

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

etwa 3 Jahre vor

Gelöst

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

fast 6 Jahre vor

Gelöst

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

fast 9 Jahre vor

Gelöst

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

fast 9 Jahre vor

Gelöst

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]

fast 9 Jahre vor

Gelöst

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

fast 9 Jahre vor

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

| akzeptiert

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

Frage

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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 1

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

mehr als 10 Jahre vor | 0

Frage

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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 10 Jahre vor | 2

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

mehr als 10 Jahre vor | 0

| akzeptiert

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

mehr als 10 Jahre vor | 0

Beantwortet
manual segmentation of image
imfreehand methods imfreehand

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

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

mehr als 10 Jahre vor | 0

| akzeptiert