Answered
find the desired data
Something like: idx = find(abs(x - (-3.6150))<10^-10)

14 years ago | 0

Answered
using ismember to find the corresponding value
doc histc where depth is your edges. The 2nd output argument will be the one you care about most likely.

14 years ago | 0

| accepted

Answered
Refining 3D surface meshes
doc reducevolume doc shrinkfaces We really need more detail in order to give better pointers

14 years ago | 0

Answered
TUTORIAL: how to ask a question (on Answers) and get a fast answer
If you are getting a: Crash/SegV or Java Exception, contact technical support: <http://www.mathworks.com/support/contact_us/i...

14 years ago | 0

Answered
java.awt.IllegalComponentStateException error appears when I try to switch to a different current folder
Contact Tech Support: <http://www.mathworks.com/support/contact_us/index.html>

14 years ago | 0

Answered
Tables in GUI / GUIDE
It means that the *figure* is calling this instead of the *table*. Thus _hObject_ is the figure handle (the source calling the ...

14 years ago | 0

| accepted

Answered
word automation - adding / editing tables from matlab
How big is newtable.Columns? newtable.Columns

14 years ago | 0

Answered
deciding whether this point under Area or not
doc inpolygon %?

14 years ago | 1

| accepted

Answered
Multiply each element of a vector with a matrix
BSXFUN!!! B = [1 2; 3 4]; A = 1:5; D = bsxfun(@times,B,reshape(A,1,1,numel(A))); |kron| is notorious (at least in ...

14 years ago | 4

| accepted

Answered
Detecting circle in an image
One of R2012a's not-so-hidden gems! <http://www.mathworks.com/help/toolbox/images/ref/imfindcircles.html doc imfindcircles>...

14 years ago | 0

Answered
diagonals
n = 5; toeplitz(n:-1:1);

14 years ago | 0

Answered
3-dimensional matrix
some possibilities: doc ndgrid doc reshape doc permute

14 years ago | 0

Answered
Displaying output from .exe file to gui
Yup, that certainly seems like a plausible solution. Perhaps |timer| functions will help you read it to MATLAB and update perio...

14 years ago | 0

Answered
quit doesn't quit the matlab when called from a loop.
Interesting idea. when you run: !matlab it halts execution in the current MATLAB instance until the new instance closes...

14 years ago | 1

Answered
different z values for one x y coordinate
You could use the index output arguments of |unique| along with |accumarray()|. What do you want to do with multiple z values? ...

14 years ago | 2

Answered
run scripts in sequence
_script4.m_ %The contents of scipt4.m script1; script2; script3;

14 years ago | 0

| accepted

Answered
GUI: How to "save a mouseclick" when editing a uitable and then clicking elsewhere in the the figure.
This is expected when working with a |uitable| with editable cells. After selecting a cell, clicking somewhere outside of th...

14 years ago | 0

Answered
Matrix Dimensions Must Agree
dbstop if error then run your file what is? size(gs) size(J) It should be obvious at this point.

14 years ago | 0

| accepted

Answered
Cell indexing and redefing
AA =cellstr(['85 to 92 °C' '85 to 92 °C' '55 to 64 °C' '55 to 64 °C']); BB = regexp(AA,'\d\w*','match'); CC =...

14 years ago | 0

| accepted

Answered
Uitable and vpa
Instead of |char(result)|, use |num2str()| or |sprintf()| doc num2str doc sprintf and for the comparison, doc char...

14 years ago | 0

| accepted

Answered
Jury table
doc coeffs

14 years ago | 0

| accepted

Answered
size
Use the _fontsize_ property. Also, use the _string_ property for the string: str1 = uicontrol('unit','pixel','style','t...

14 years ago | 0

| accepted

Answered
scan elements one-by-one
doc diff %?

14 years ago | 0

Answered
rename a variable
Similar to <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F FAQ>

14 years ago | 1

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

14 years ago

Answered
Number of functions in a function-M file
function z = A; z = B; function z = B; z = pi; All of it saved in _B.m_

14 years ago | 0

Answered
"Warning: Imaginary parts of complex X and/or Y arguments ignored" in fminserach and optimtool
Evaluate your function at the initial values you provide. Is the result complex? If so, that's the reason for the warning. We...

14 years ago | 1

Answered
Writing a matlab function- get number of rows
mrows = size(x,1)

14 years ago | 0

Answered
matlab guide???
If you are interested in making GUIs without GUIDE, this is a great resource: <http://www.mathworks.com/matlabcentral/fileexc...

14 years ago | 0

| accepted

Answered
It's very urgent, answer please!
doc strcmp doc pcode

14 years ago | 0

Load more