Beantwortet
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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 2

| akzeptiert

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

Beantwortet
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}];

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 2

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 1

Beantwortet
Do FEX users look at Example files?
Yes.

mehr als 11 Jahre vor | 0

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

| akzeptiert

Mehr laden