Answered
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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 2

| accepted

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

11 years ago | 1

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

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

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

11 years ago | 2

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

11 years ago | 0

Answered
How to find the index of the first minimum element
[~,idx] = min(y)

11 years ago | 0

Answered
Changing the Structure of a Matrix.
y = reshape(x.',1,[])

11 years ago | 0

| accepted

Answered
how to avoid repeat numbers in a row
[~,x] = sort(rand(1,6)) No |randperm|

11 years ago | 1

| accepted

Answered
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?

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

Answered
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);...

11 years ago | 0

| accepted

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

11 years ago | 0

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

11 years ago | 0

| accepted

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

11 years ago | 1

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

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

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

11 years ago | 1

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

11 years ago | 0

| accepted

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

11 years ago | 1

Answered
Do FEX users look at Example files?
Yes.

11 years ago | 0

Answered
how to open an .m file with a dialog box
open foo.m Or edit foo.m

11 years ago | 0

| accepted

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

11 years ago | 0

| accepted

Answered
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),:)

11 years ago | 0

| accepted

Load more