Answered
volume tessellation with spheres
<http://www.mathworks.com/matlabcentral/fileexchange/31336-demo-files-for-parallel-computing-with-matlab-on-multicore-desktops-a...

12 years ago | 0

Answered
How to calculate geometric tortuosity of a 3D binary image in all directions (x,y,z)
Here's the general approach I would take: * For every pore, identify the end-points. We'll get to how to do this later. * O...

12 years ago | 0

| accepted

Answered
Grouped bar chart with single data point per group
Hi Ed, The trick here is to nan-pad Y to trick bar into thinking there are multiple groups: Y = round(rand(1,3)*10); fi...

12 years ago | 0

Answered
how to generate 1000 random numbers with extreme value dist?
doc evrnd <http://www.mathworks.com/help/releases/R2013b/stats/evrnd.html>

12 years ago | 1

| accepted

Answered
Unfold nested folds in editor
That sounds like a valid enhancement request. I would recommend contacting support. As a workaround: It seems like it reme...

12 years ago | 1

Answered
Gradient of a matrix
doc gradient If you have the Image Processing Toolbox: doc imgradient doc imgradientxy

13 years ago | 0

Answered
Using more than one file directory path in the same script ?
What you have there looks like would work if you added another for-loop over data directory. Thus dataDirectory would be a ce...

13 years ago | 0

Answered
Issue with Cholesky decomposition and positive definiteness
Hi James, When I started at MathWorks, I asked our MATLAB/Math development team a very similar question. It was the first ti...

13 years ago | 1

Answered
Corrcoef creating NaNs from datasets with no NaNs
corrcoef(zeros(10,1),zeros(10,1)) They'll occur from |0/0| or |inf/inf|

13 years ago | 0

Answered
Changing XDir permanent to reverse
|plot| is a high-level functhat changes a bunch of properties automatically. If you don't want to change the other properties, ...

13 years ago | 1

Answered
Using the fzero function
Change the anonymous function to something like the following: Ko = 92; S = .11; x = fzero(@(xx)mzero(xx,S,Ko),x0); ...

13 years ago | 2

Answered
Where can I find the code for the function "hcomputeMTMValues" in http://www.mathworks.in/help/fininst/counterparty-credit-risk-and-cva.html ?
which -all hcomputeMTMValues _C:\Program Files\MATLAB\R2013b\toolbox\fininst\fininstdemos\hcomputeMTMValues.m_

13 years ago | 0

Solved


Upper triangular matrix
Create a function to retrieve the upper triangular matrix of a matrix (without using tril). The matrix will always be square. ...

13 years ago

Answered
my project is to detect the potholes on the roads.....so how to do the code for k-means clustering?
>>codegen edge _??? The function 'edge' is not supported for standalone code generation. See the documentation for coder.ex...

13 years ago | 0

Answered
How to do that.the product of four consecutive even integers is 13440. Using Matlab?
Obligatory one-liner: vals = 2*find(prod(bsxfun(@plus,(2:2:13440).',0:2:6),2)==13440)+[0:2:6]

13 years ago | 0

Answered
stop bringing GUI to front
Hi Adrian, You have to use low level plotting functionality to |set| the properties of graphics objects (i.e. the text) that ...

13 years ago | 0

Answered
Simscape Customized Component Library
Run: >>mex -setup To set up the compiler.

13 years ago | 0

Answered
Calculate matrix from symbolic equation
zp = subs(zplane,{x,y,z},{1:100,1:100,1:100}) To get a numeric solution from this: double(zp)

13 years ago | 0

Answered
how to Plot waterfall curve for BER vs Eb/No im matlab?
doc waterfall ?

13 years ago | 0

| accepted

Answered
Number of usable cores differs from 2013a to 2013b?
If you go to parallel preferences, what is the preferred number of workers?

13 years ago | 0

Answered
After the Answers Update on 9/18/2013, why does the Answer box look weird?
Please clear out your temporary internet files in IE: # Internet Options # General tab # Delete... button under Browsing Hi...

13 years ago | 0

| accepted

Question


After the Answers Update on 9/18/2013, why does the Answer box look weird?
Now that I can upload images (!!!), why does the answer box expand over some buttons (or similar)? <</matlabcentral/answers/u...

13 years ago | 1 answer | 0

1

answer

Answered
Is mlappinstall backward compatible?
1) The app is not backward compatible. However, it's a glorified *.zip file that can be renamed and have the MATLAB files extr...

13 years ago | 1

| accepted

Answered
How to find elements of a 3d matrix inside a volume
Hi Ashli, This utility will "voxelise" your mesh. Then you can use that image as a logical index into your 3d image: <htt...

13 years ago | 0

Answered
2013b editor tabs ordering? (at the top, not ^I, HT)
Do you have the alpabetical sorting checked? Right click on the panel bar somewhere and make sure it's not checked (or check it...

13 years ago | 0

Answered
Simplify expression displayed in command window
vpa(r,10) %change 10 to desired number of digits or double(r)

13 years ago | 0

Solved


Converting numbers back from extended form
Thanks for all the help you guys gave me on writing out the numbers in extended form in <http://www.mathworks.com/matlabcentral/...

13 years ago

Answered
how to access cells of n-dimensional array without colon operator?
That was a fun post-lunch challenge, thanks! extractFromND(magic(3),[1 2],[2 3;3 3]) It does not accept |end| you have t...

13 years ago | 0

| accepted

Answered
Ranking SVM for Age Estimation
<http://www.mathworks.com/help/releases/R2013b/stats/support-vector-machines-svm.html> The Statistics Toolbox supports suppo...

13 years ago | 0

Load more