Answered
How to copy a sub-matrix/vector along diagonal of a larger matrix with varying number of sub-matrices?
You can use <http://www.mathworks.com/help/matlab/matlab_prog/comma-separated-lists.html?searchHighlight=comma+separated+list co...

13 years ago | 0

| accepted

Answered
How to optimize the multiplication of large matrices in Matlab?
I doubt you'll be able to get anything faster than the highly optimized BLAS libraries that MATLAB uses to perform matrix arithm...

13 years ago | 0

Answered
For detection and tracking of ships
* <http://www.mathworks.com/products/computer-vision/ Computer Vision System Toolbox> * <http://www.mathworks.com/products/mapp...

13 years ago | 0

Answered
8th degree polynomial numerical instability
My suggestion is avoid any polynomial with degree greater than three or four. They are highly unstable and aren't actually mode...

13 years ago | 0

| accepted

Answered
How to set rate limit?
You can use |min()| to saturate: rate = min(rate,0.1)

13 years ago | 0

Answered
Make Matlab stop maximizing every time it changes a variable.
In order to use graphics (and update them) there are a few things you can do. * Turn the figure's visibility off: hFig...

13 years ago | 1

| accepted

Answered
How to interpolate values
There aren't enough points to perform a 2d scattered interpolation which requires a Delaunay Triangulation under the hood. Inst...

13 years ago | 0

| accepted

Answered
variables and numbers in msgbox
msgbox(sprintf('A = %2.3g\nB = %2.3g',A,B),'AB') And for more info: doc sprintf

13 years ago | 3

| accepted

Answered
How to get Graphs in Publish
%% Publish me plot(1:10); If you are curious why some might now be publishing, it may be because |publish| onl...

13 years ago | 1

Answered
Function similar to MS Excel "subtotal"? (for 2 conditions)
Just use |accumarray| (same as cyclist's only cleaner): x = [2012 1 23; 2012 1 25; 2012 2 38; 2012 2 38; ...

13 years ago | 0

Answered
How can I borrow one license for my Windows and Linux partitions?
This is really a question for our installation and licensing team: <http://www.mathworks.com/support/contact_us/index.html>

13 years ago | 0

| accepted

Answered
How Can I convert m- file or any command in Matlab to "C language" or "C++ language"??
Use <http://www.mathworks.com/products/matlab-coder/ MATLAB Coder>

13 years ago | 0

Answered
Huffman image compression method
<http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=huffman FEX:query:huffman>

13 years ago | 0

Answered
how to put iterations from a foor loop in a vector
v = zeros(10,1); for ii = 1:10 v(ii) = rand; end

13 years ago | 1

Answered
How are method(obj) calls handled in MATLAB?
I would _guess_ that it uses the |metaclass| function or ? equivalent. obj = MyClass; mc = metaclass(obj); mc.MethodList ...

13 years ago | 0

Answered
Can someone help me with a project?
In order to avoid reinventing the wheel, I would search the <http://www.mathworks.com/matlabcentral/fileexchange/ FEX> On a q...

13 years ago | 0

Answered
Selecting an area with a mouse on a 3D Plot
The easiest way: surf(peaks) brush on right click "Create Variable" If you could get away with a contour plot or 2d ...

13 years ago | 0

Answered
Is there a way to subscript a textbox in a GUI so that the same code does not have to be written for every callback?
Even better! Have just one callback for all of the pushbuttons txt_num_Callback(etc.) And just use the _hObject_ value w...

13 years ago | 0

Answered
How to write GUI code for creating browsing window?
doc uigetfile %? Please be a lot more explicit in your question.

13 years ago | 1

Answered
How to call the Callback function (in a subfunction of another Callback function)?
You will have to pass the subfunction handles back from the main function: %%%begin main.m%%%% function [y, fh] = main(x...

13 years ago | 0

| accepted

Answered
how to contact MATLAB representatives in Chennai regarding sales?
<https://www.mathworks.com/company/aboutus/contact_us/contact_sales.html?s_iid=solgtwy_sales_gtwy_tb1>

13 years ago | 0

| accepted

Answered
How to subtract vectors with different number of entries?
D1 = [ 1970 254.5 1980 264.5 1990 234.5 2000 234.7 ]; D2 = [ 1970 234.5 1980 234.6 2000 456.7 2010 234.7]; %...

13 years ago | 2

| accepted

Answered
Deleting a handle array.
Can you provide repro code? Do you have a variable named _delete_ This works fine for me: for ii = 3:-1:1 h(ii) ...

13 years ago | 0

| accepted

Answered
How to read multiple tiff files from a folder?
* <http://www.mathworks.com/help/releases/R2012b/matlab/import_export/process-a-sequence-of-files.html doc> * <http://www.mathw...

13 years ago | 0

| accepted

Answered
8 neighbours of a pixel after converting to 1D array
As I mentioned in the comment: I would just reshape the image to its original (or leave it alone) and make a second variable tha...

13 years ago | 0

Answered
How to design the help document in GUI?
Use a |uimenu| and have the callback call |web()| with your html file. Or poof a new figure that contains a text box with the i...

13 years ago | 0

| accepted

Answered
Open an image in a GUI
figure; ax = axes; figure; peaks %another figure uicontrol('Style','pushbutton',... 'Units','normalized',... ...

13 years ago | 0

Answered
Matlab Editor only showing partial filenames in tabs
If you don't mind losing all of your preferences, you could take the "nuke it from orbit" approach and delete or rename your |pr...

13 years ago | 1

| accepted

Answered
Is it possible to annotate arrows (or other annotation objects) in subplots?
<http://www.mathworks.com/matlabcentral/fileexchange/32536-annotation-pinned-to-axes> Seems to be well liked. You could a...

13 years ago | 0

| accepted

Answered
How can I put a 3x1 matrix and a 4x1 matrix "on top" of each other to create a 7x1 matrix?
M3 = [M1;M2] or M3 = vertcat(M1,M2) I recommend reading the getting started guide to get you over these obstacles. ...

13 years ago | 2

Load more