A résolu


Is my wife right?
Regardless of input, output the string 'yes'.

plus de 13 ans il y a

A résolu


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

plus de 13 ans il y a

A résolu


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

plus de 13 ans il y a

A résolu


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

plus de 13 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

plus de 13 ans il y a

A résolu


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

plus de 13 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

plus de 13 ans il y a

A résolu


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

plus de 13 ans il y a

A résolu


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 13 ans il y a

A résolu


Make blocks of color
Given a (Nx3) sequence of RGB colors, I want to create a (numRowBlocks x numColBlocks x 3) image comprising (blockSize x blockSi...

plus de 13 ans il y a

A soumis


deleteoutliers
For input vector A, returns a vector B with outliers removed.

presque 15 ans il y a | 3 téléchargements |

4.5 / 5

Réponse apportée
Sorting a 2d matrix according to the distance between each successive point.
Eoin, I'm not sure what those three non-zero values refer to, since I can't see your code. But if the object you are interested ...

presque 15 ans il y a | 0

Réponse apportée
Passing array to a function
You'll need to show us a bit more. It would be particularly useful, for instance, to see line 71 of getFreq. Consider puttin...

presque 15 ans il y a | 0

Réponse apportée
fitting the equation on a graph and finding unknown parametrs
You've gotta love the <http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/curvefit_product_page.html Curve-Fitting T...

presque 15 ans il y a | 0

Réponse apportée
Can anyone plz help me segment vein pattern from a thresholded dorsal palm image????
Take a look at BWMORPH. It allows you to calculate the skeleton of your image. From that result, you can calculate branch points...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
How do i write a function containing a loop for two vectors?
Sorry, Jenny. Change those a's to s's. Brett

presque 15 ans il y a | 0

Réponse apportée
Is there any data loss when i convert my dicom image to any other format???
If you save your image in a lossless format, the conversion is lossless. Otherwise, not necessarily. Are you converting with imr...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
How do i write a function containing a loop for two vectors?
I can tell you _how_ to discard your outliers, but I can't tell you if you _should_. (Is that what you're asking?) I would gu...

presque 15 ans il y a | 0

Réponse apportée
How do i write a function containing a loop for two vectors?
Jenny, why on earth would you want to write that in a loop?(Is that a homework assignment?) And do you really need to calculate ...

presque 15 ans il y a | 0

Réponse apportée
Sorting a 2d matrix according to the distance between each successive point.
Yes! Try this instead: stats = regionprops(cut_surface,'perimeter'); perims = [stats.Perimeter]; That will give...

presque 15 ans il y a | 0

Réponse apportée
Problem working with 3-D image matrix
Here's another approach, just for fun: start = imread(g); multCol = reshape(repmat([4 1 0],ceil(size(start,1)/3),1),[],1)...

presque 15 ans il y a | 0

Réponse apportée
Problem working with 3-D image matrix
Well, if you want to chop your image into thirds and it doesn't divide equally into three bins, then YOU have to decide how to c...

presque 15 ans il y a | 0

Réponse apportée
Outward pointing normal vectors on a triangle
Are you familiar with the QUIVER command? Brett

presque 15 ans il y a | 0

Réponse apportée
Sorting a 2d matrix according to the distance between each successive point.
Do you have the Image Processing Toolbox? Consider using REGIONPROPS, and requesting the PERIMETER of the region. Cheers, Br...

presque 15 ans il y a | 0

Réponse apportée
Eliminating different regions based on height/width ratio calculated by boundingbox
You can also use the 'Eccentricity' property returned by REGIONPROPS. Eccentricity give the ratio of the major axis length to th...

presque 15 ans il y a | 0

Réponse apportée
automatic resize of one graph using subplot function
Or you can just set the x- and (or) y-limits to be manual after you create your individual plots. (The default is 'automatic'.):...

presque 15 ans il y a | 0

Réponse apportée
Accessing Workspace variables
Sorry, Erik. I didn't read your question carefully enough. Try this: eval(b(ii).name) Brett

presque 15 ans il y a | 2

| A accepté

Réponse apportée
Problem working with 3-D image matrix
I'm not sure what you mean by "does not work for an image that has a decimal value after a divided three-dimensional." But I ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Accessing Workspace variables
A = whos; for ii = 1:numel(A) A(ii).name end Cheers, Brett

presque 15 ans il y a | 1

Réponse apportée
Separating Objects in an Image
I agree with Walter about the depth ambiguity, but I think you still might be able to get reasonably good results with this imag...

presque 15 ans il y a | 1

Charger plus