Answered
"Substitution function" by symbolic math toolbox
doc subs %?

13 years ago | 0

| accepted

Answered
MATLAB to C/C++
You can use <http://www.mathworks.com/help/releases/R2013a/compiler/standalone-applications.html MATLAB Compiler> to deploy your...

13 years ago | 2

| accepted

Answered
Cannot type or edit in MATLAB, only right click and menus.
This currently is being investigated by our development team. This thread also applies to the same issue: <http://www.mathwo...

13 years ago | 0

Answered
How do you get the handles of a table from another GUI?
I assume you're using GUIDE. In this case: <http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions...

13 years ago | 0

Answered
image labeling algorithm by steve
What's wrong with |bwlabel| or |bwconncomp|? doc bwlabel

13 years ago | 0

Answered
How can I delete a row of numbers in which the number in the first column is less than a threshold?
glass half empty X(X(:,1)<10,:) = []; glass half full Y = X(X(:,1)>=10,:);

13 years ago | 3

| accepted

Answered
How do I determine the angle, scale and translation between two images after imregister?
You can use |imregtform| to get the transformation matrix: doc imregtform

13 years ago | 0

Answered
Any way to free hand crop an image?
How do you propose cropping a non-rectangular shape? Do you want to zero out parts that aren't within in your "cropped" region....

13 years ago | 2

| accepted

Answered
matrix multiplication and transposing zeroing out problem
If you put a breakpoint on the first line and then step through this with the debugger (i.e. dbstep or the dbstep button), what ...

13 years ago | 1

Answered
how to transfer a surf generated 3D image into 2D array
hF = figure; ax = axes; S = surf(peaks); ZD = get(S,'ZData'); The _'ZData'_ lives in the surface object which is a child...

13 years ago | 0

| accepted

Answered
Image Processing trouble and masking. Is there a way to mask multiple images with a new mask every time in a loop?
Make sure you use the: imshow(I,'parent',ax) syntax to draw the image on the existing axes. Otherwise, a new axes is cr...

13 years ago | 0

Answered
Is there a way to add shortcuts to the toolbar from the command line
Not in a documented way... <http://www.mathworks.com/matlabcentral/newsreader/view_thread/151033>

13 years ago | 0

Answered
open/create a figure behind another
%First figure figure(1); set(1,'units','normalized','position',[0.1 0.2 0.6 0.4]); plot(rand(1,10)); %Open the...

13 years ago | 0

| accepted

Answered
Matlab command window is blocked / or busy when I plot an animation
Use a |timer|. doc timer I've written quite a few answers that have examples in them if you search through Answers' hi...

13 years ago | 1

Answered
Replicating a matrix in matlab
dbstop if error Then run your code. Look at each side of the parenthesis and I'm sure you'll see that: size(A(t,:)) ...

13 years ago | 0

| accepted

Answered
Drastic processing time between calling a function with a square root operation in it and simply writing the function in the script itself
More than likely the matrix is preallocated in the script because it has run previously whereas the function creates a new works...

13 years ago | 0

Answered
How to do a 3D circle in matlab
<http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F> Already there!

13 years ago | 1

| accepted

Answered
Where are write permissions needed working with MATLAB?
A couple easy ones: * Saving the MATLAB |pathdef| file. * Overwiting any shipped MATLAB code.

13 years ago | 1

Answered
Problem with installation of a license NO
Please contact technical support, it's free and they'll be able to get everything set up for you. <http://www.mathworks.com/s...

13 years ago | 0

Answered
What does this error message mean?
It means that the variable or function _fcn_ cannot be found. Run: dbstop if error And then reproduce the error. This ...

13 years ago | 0

| accepted

Answered
Using bsxfun for non-numeric data
Yes, |bsxfun| only supports numeric datatypes. Here's the workaround I would take: Use unique to convert to numbers and |eq| ...

13 years ago | 1

Answered
Choose randomly rows in a matrix
doc randperm Then use the output of this as an index into your matrix. x = magic(10); idx = randperm(10,2) x(idx,:)

13 years ago | 0

Answered
Create light object for specific axes handle in gui
<http://www.mathworks.com/help/releases/R2013a/matlab/ref/light_props.html> Set its _'Parent'_ to be your axes of choice.

13 years ago | 0

| accepted

Answered
new to matlab, I am tring to write a peice of code that accepets two premanitars and displys all numbers that have a digit equal to ‘2’ .
%example x x = [17.5;12.3;132;211;3.1419]; %convert to string xstr = num2str(x); %any column has a digit 2...

13 years ago | 0

Answered
match the date from two files
Use |datenum| to convert the dates to serial datenumbers if they are not in this form already. Then use |ismember| to identify ...

13 years ago | 0

Answered
I am getting an error in ismember function
First run: dbstop if error Then run your code, it will stop with the debugger at the location of the error. From here y...

13 years ago | 0

Answered
Can I place text on top of a figure irrespective of the current axis?
Use an |annotation| _'TextBox'_. These use the figure's units. <http://www.mathworks.com/help/releases/R2013a/matlab/ref/ann...

13 years ago | 0

| accepted

Answered
Matlab Coder: how can I eliminate the date in c-code comments
I don't know if it's possible or not but it's a valid enhancement request if it isn't. Please contact technical support!

13 years ago | 2

Answered
Stack 3D images in a 3D plot
X = zeros(320,321,3,10); %10 slices for example Now you stick every RGB image in the 4th dimension using the same instructi...

13 years ago | 1

| accepted

Answered
Question about assigning value in a matrix.
I've always found |for|-loops to be significantly faster than |sub2ind| and |ind2sub|. Especially as the number of indices gets...

13 years ago | 0

Load more