Answered
how to traverse a multidimensional array
A trick here is to use the string _':'_ as an element in a cell array that you can pass in as a <http://www.mathworks.com/help/r...

12 years ago | 0

Answered
How can i use the Active Contours on a video ?
Apply it to every frame of the video? You might also be able to use the mask from the results of one frame as the starting ma...

12 years ago | 0

| accepted

Answered
Edit text box callback not triggered when clicked to toolbar
Hi Thomas, Contact tech-support for the workaround. Mention _article 000022220_

12 years ago | 0

Answered
Nested for loop still not working...
length(DataNames) Will return something like seven I imagine. Your |for|-loops will eventually want SepHistData(7,7...

12 years ago | 0

Answered
is there any alternative way ?
Do the whole avg_spec calculation at once: avg_spec = mean(H_cube,3); % mean along third dimension Use logical indexin...

12 years ago | 0

Answered
videoinput versus videodevice for realtime processing
Use the _'TimerPeriod'_ option in the |videoinput| object. imaqhelp videoinput

12 years ago | 0

Answered
Long Computation Image Processing
Your |for|-loops can be replaced with some array and linear algebra computations. Also, D is returned as a single and you're ru...

12 years ago | 0

| accepted

Answered
Running a t test in Matlab
<http://www.mathworks.com/help/releases/R2013b/stats/ttest2.html> It looks like you'll need to call it twice, once with each ...

12 years ago | 0

Answered
How to open a .mdl file that was created in v2013a in v2013b?
Perhaps |slupdate| and or <http://www.mathworks.com/help/releases/R2013b/simulink/slref/upgradeadvisor.html upgradeadvisor> ...

12 years ago | 0

| accepted

Answered
using the eval command in a loop
Why use |eval| and not just call it normally? m_text(-75,52,num2str(k+1992),'FontSize',12) |eval| is evil.

12 years ago | 0

Answered
Error using get command
obj.FrameRate Is the preferred way to get the property. If you would like |set| and |get| to work like they do with graphi...

12 years ago | 0

Answered
is it possible to enter variable values while execution or run time?
Use the |input| function or an |inputdlg| doc input doc inputdlg

12 years ago | 0

Answered
Function of the toolbar-cross
This does execute the <http://www.mathworks.com/help/releases/R2013b/matlab/ref/figure_props.html _CloseRequestFcn_> of the figu...

12 years ago | 0

| accepted

Answered
How to specifya a sql query if the criteria is a cell array?
If you're using R2013a or newer, use |strjoin| to turn the cell into a string: sinkname = {'washington' 'newyork' 'seattle'...

12 years ago | 0

Answered
syms back to numbers
Use |subs| to substitute the values in: syms x y z f=x^3 - 2 * y^4 + 4 * z^2 subs(f,{x,y,z},{4,3,5}) And <h...

12 years ago | 0

Answered
comparing two tables or datasets
Use a |for|-loop to loop over the variables and test equality: LastName = {'Smith';'Johnson';'Williams';'Jones';'Brown'}; ...

12 years ago | 0

Answered
Undefined function or variable
What's the file saved as? It should be saved as _Analysis.m_ and should be on the MATLAB path or in the current directory.

12 years ago | 0

| accepted

Answered
How do I changing file name in a "To File" block in Simulink from matlab command window?
You can use |gcb| to get the current block: set_param(gcb,'filename','hello_world.mat') And to see the name of the block...

12 years ago | 0

| accepted

Answered
Can someone help me with MatLab downloading agent?
Contact MathWorks' Installation support.

12 years ago | 0

Answered
The use of ' into a text
'c''' Use two |''| to indicate one inside of a string.

12 years ago | 1

| accepted

Answered
Object detection with Ransac
<http://www.mathworks.com/help/releases/R2013b/vision/ref/estimategeometrictransformation.html>

12 years ago | 0

Answered
How to change graph lineStyles?
plottools on Then interactively change the line styles as you see fit.

12 years ago | 0

Answered
Sum of first 100 integers?
for ii = 100 s = sum(1:ii); end

12 years ago | 3

Answered
Fatal Error using CFTOOL
Try running the following before opening the curve fitting tool: opengl software

12 years ago | 0

Answered
Cells in MatLab R2013a?
Add two % signs followed by a space %% Hello Section (formerly known as cell) The rest of the cell (now called sections)...

12 years ago | 0

Answered
Question re Loren (on the Art of Matlab) Data Driven Fitiing
Run: dbstop if error And then run the erroring code. This will stop with the debugger on the offending line and you'll ...

12 years ago | 0

Answered
Why to use vpa instead of double in dealing with symbolic variables?
For display vpa(F,5) You can't convert it to double because X and Y are symbolic. To convert it to double, you would fi...

12 years ago | 0

| accepted

Answered
I need help for R2013a
<http://www.mathworks.com/support/contact_us/index.html?s_tid=contact_us_support_cust_serv>

12 years ago | 0

Answered
How can I apply the format parameters of an existing figure to new figures?
Use |copyobj()| h = figure('color','r','name','Tuesday'); copyobj(h,0) % copy figure to root

12 years ago | 1

Load more