Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

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

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 3

| aceptada

Respondida
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...

más de 13 años hace | 1

Respondida
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; ...

más de 13 años hace | 0

Respondida
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>

más de 13 años hace | 0

| aceptada

Respondida
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>

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 1

Respondida
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 ...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

Respondida
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 ...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

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

más de 13 años hace | 1

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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>

más de 13 años hace | 0

| aceptada

Respondida
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]; %...

más de 13 años hace | 2

| aceptada

Respondida
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) ...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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...

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 0

| aceptada

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

más de 13 años hace | 0

Respondida
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...

más de 13 años hace | 1

| aceptada

Respondida
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...

más de 13 años hace | 0

| aceptada

Respondida
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. ...

más de 13 años hace | 2

Cargar más