Answered
borders of simple image
Can you please provide _full_ reproduction steps? Repeating these steps below does not reproduce this behavior: SE = strel...

12 years ago | 0

Answered
index notation symbolic toolbox
>> fi = sym([1,2]) ?

12 years ago | 0

Answered
Genetic Algorithm - Fitness function value differences...
What is the boring stuff? The secret likely lies in there. *Some specific things to look for: # Anything random? # An...

12 years ago | 0

Answered
XTICKLABEL and LATEX -- still not supported?
<http://www.mathworks.com/matlabcentral/fileexchange/8722-rotate-tick-label> Will replace with text objects that can then hav...

12 years ago | 0

Answered
Optimization with symbolic math
Do you need to solve this symbolically or would using one of the numerical solvers like |fmincon| or |patternsearch| work for yo...

12 years ago | 0

Answered
if A=1:0.1:10 and B=1:4,T=exp(A/B) , is there anyway to plot a graph of T against A?
Use |bsxfun| to do the division. Here is a small example: A = 1:0.1:10; B = 1:4; T = exp(bsxfun(@rdivide,A,B')); plot(A...

12 years ago | 0

Answered
beginner subplot graph problem
doc plotyy You can use this on a subplot: subplot(1,2,1); plotyy(1:10,1:10,1:10,100:-10:1)

12 years ago | 0

| accepted

Answered
Invalid property: Returned figure handles not valid
get(gcf,'children') returns the handles to all of the unhidden children of the figure including uimenus and uicontextmenus ...

12 years ago | 0

| accepted

Answered
Variable editor showing blank but Command window has Array
Hi Andrew, This is an unfortunate limitation of any _fints_ object. The |fints| class uses an older style class system that ...

12 years ago | 0

Answered
How can I embed a video into a GUI?
I don't have time to make an example now, but here's how I would approach this: You will need an axes with an image on it. ...

12 years ago | 1

Answered
Failure in initial user-supplied objective function evaluation. FMINCON cannot continue
Run the following at the command line: dbstop if error And then run |fmincon| on the offending machine. This will stop ...

12 years ago | 0

Answered
OOP in MatLab -- assigning values to properties?
Your class is not a _handle_ class but rather a _value_ class. Thus when you run: a.changeB(256); A new variable _ans_ i...

12 years ago | 1

| accepted

Answered
concatenate mutiple tables repetative
Are these "tables" actual <http://www.mathworks.com/help/releases/R2013b/matlab/ref/table.html |table|> datatypes? If they are ...

12 years ago | 0

Answered
Matlab way to open a command like H5PY does?
doc H5F Will give you access to low-level HDF5 commands.

12 years ago | 0

Answered
How can I rotate the Y axis tick labels 3-D bar?
<http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=rotate+tick+label FEX:query:rotate+tick+label>

12 years ago | 0

Answered
Shadowing built-in functions
which -all xbuffer _'xbuffer' not found._ We're in the clear! I try to use this all of the time.

12 years ago | 2

Solved


Find the index of the first occurrence of a value in a matrix
Given a matrix of scalars, find the first occurrence of -1 in each column. Output NaN for a column which does not contain the va...

12 years ago

Answered
lowest index in the matrix
The second output of |min()| gives you this: [minx,idx] = min(A,[],1); And for more info: doc min

12 years ago | 0

| accepted

Answered
Displaying multiple images separately in pubished script.
Use |snapnow| or a _Nested Code Section_ between the two |subplot| or plot commands to force |publish| to take a snapshot. ...

12 years ago | 0

Answered
Lotka - Volterra with diffusion
>>lotkademo ?

12 years ago | 0

Answered
How Do I make an Array of Arrays
C = cell(3,3) ? |<http://www.mathworks.com/help/releases/R2013b/matlab/ref/cell.html doc cell>| *More per comments* ...

12 years ago | 1

Answered
big numbers in matlab / sym math tool
x = sym('26^29'); mod(x,35) ans = 31 I can only speculate how you were creating the sym before, but if yo...

12 years ago | 1

| accepted

Answered
C# code interfacing with matlab
You need to wrap some header information around your C-code and then build into a MEX file: More information: <http://www....

12 years ago | 0

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

12 years ago

Answered
Matlab string size to asterisks?
Here's a hint: x = 'Friday Rocks' char(42+zeros(size(x))) I found the 42 by running: int8('*') To reverse a str...

12 years ago | 1

| accepted

Answered
Integration of the unknow variable
You have the inputs to |int| backwards: G = int(f,x,0,inf)

12 years ago | 1

Answered
fundamental principle of multiplication
[xx,yy,zz,qq] = ndgrid('1234'); V = [xx(:) yy(:) xx(:) qq(:)]

12 years ago | 1

Answered
Problem reading 16bit grayscale image
Perhaps they should be |int16|'s and the values below zero are saturating to zero since they can't be represented as a |uint16|?...

12 years ago | 0

Answered
How does global search handle negative exitflags of the local solver?
In reply to comments: Yes, but GlobalSearch is evaluating your objective function on each iteration. All you can do is read ...

12 years ago | 0

Answered
Surface fitting to data
The curve/surface fitting tool will work for you application. Design the fit within the application, then go to File -> Ge...

12 years ago | 0

Load more