Réponse apportée
Anyone can help me : 1) How to get the point of centroid of the palm,point of the fingers. 2) How to coding image below into skeleton image.
doc regionprops % for centroid doc bwmorph % for skeleton

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to get a streaming audio in matlab.?
<http://www.mathworks.com/products/dsp-system/ DSP System Toolbox>

plus de 11 ans il y a | 0

Réponse apportée
How to select specific lines of a table, under a condition ?
Logical indexing and all: ertract all columns (:) where all rows (all,2) are less than 22 (x<22) x = magic(5) x(all(x<22,2...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Function 'subsindex' is not defined for values of class 'cell'.
trials is a cell array or a container, when you create n, n is a cell and you cannot index with a cell: c = {1} c = ...

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
Datenum: how many seconds in a day?
It might be worth looking into the datetime class in R2014b. This allows you to account for leap seconds: <http://www.mathwo...

plus de 11 ans il y a | 1

Réponse apportée
How to Apply Logical Indexing and Then a Subscript to a Vector in One Line of Code
MATLAB doesn't support cascaded indexing. You could either split the computation into two lines like you've done (and which I r...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Matlab not returning 0 when every element is multiplied by 0.
Are your perhaps forgetting to convert a string '0' to a double? >> '0'*pi ans = 150.7964 >> 0*pi ans = 0 ...

plus de 11 ans il y a | 0

Réponse apportée
How can I concatenate only the contents of the cells in a cell array whose length is more than a specific number?
One liner Rcat = [R{cellfun(@length,R)>4}];

plus de 11 ans il y a | 0

Réponse apportée
Append matrix to another matrix in Matlab
Use a cell to store each loops' results and then combine them with M all at the end: M=[4 3 2 1;1 2 3 4]; C = cell(t,1...

plus de 11 ans il y a | 0

Réponse apportée
Saving of m-files
The autosave behavior was new in R2014b. You can disable it in preferences <</matlabcentral/answers/uploaded_files/27537/201...

plus de 11 ans il y a | 2

Réponse apportée
GRPSTATS and datetime columns
Use |year|, |hour|, |day| etc. of the datetime to extract the time component that you want to group by and then call grpstats.

plus de 11 ans il y a | 0

Réponse apportée
How to find the index of the first minimum element
[~,idx] = min(y)

plus de 11 ans il y a | 0

Réponse apportée
Changing the Structure of a Matrix.
y = reshape(x.',1,[])

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
how to avoid repeat numbers in a row
[~,x] = sort(rand(1,6)) No |randperm|

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
I have this message using my webcam with matlab r2014b. I'm using Image Adcquisiton toolbox
Did you install the USB webcam support package in addition to the OS generic one?

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Report Generator - Prevent Table from Breaking onto Multiple Pages
Since this only applies to docx reports, this can be done by defining a table style and then applying it when necessary. Atta...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
parsing a vector by NaN into separte, unequal vectors into a cell array
*EDIT* Here's a fully vectorized engine that keeps original indices. This requires the Image Processing Toolbox. x = [1...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Programmatic Report Generation - How to Create a Report in Landscape Orientation
The orientation is set, the page size just isn't changed. import mlreportgen.dom.*; d = Document('test','docx'); open(d);...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How to read the data from a symbolic matrix ?
doc subs ? This will substitute in values for a b and c. Then you could use double() or vpa() to convert to numeric form....

plus de 11 ans il y a | 0

Réponse apportée
Find 3d branch points - Remove smaller branches
I don't have time right now to implement it, but you should be able to use |bwlookup| with a 3x3x3 lookup table to identify the ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
color thresholdig convert rgb to binary consider the value of red green and bue
Use the colorThresholder App which gives you the ability to adjust the boundaries <</matlabcentral/answers/uploaded_files/273...

plus de 11 ans il y a | 1

Réponse apportée
Storing products in a folder in my directory
|mkdir| and |fullfile| are your friends here. mkdir('products') fullfilepath = fullfile(userDir,'products','dfjksdf...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
undo textm on a map
grab the handle to the text object, then you can delete it h = textm(etc) To delete delete(h);

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How do I handle BOTH MException and MSLException
MSLException inherits from MException so |isa| will return true for both. A regular MException is not necessary an MLSException...

plus de 11 ans il y a | 1

Réponse apportée
Upgrading to MATLAB R2015A
This will depend on where you are in the world and what type of licenses your company or university has as well as how long you ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
How can I extract orientation of arrows from quiver function?
You'll need to use |atan2| to get the orientation from u, v q = quiver(1,1,1,0.5) r = atan2(q.VData,q.UData) r*180/pi...

plus de 11 ans il y a | 1

Réponse apportée
Do FEX users look at Example files?
Yes.

plus de 11 ans il y a | 0

Réponse apportée
how to open an .m file with a dialog box
open foo.m Or edit foo.m

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
how to do a program for image processing?
<http://www.mathworks.com/help/releases/R2014b/matlab/scripts.html Start Here>

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
I have an array of 10 by 6 and i want to randomly select rows from the array ?
iijj = randperm(10,2) ii = matrix(iijj(1),:) jj = matrix(iijj(2),:)

plus de 11 ans il y a | 0

| A accepté

Charger plus