Pregunta


Which MATLAB operations/functions need speeding up?
When using MATLAB, I sometimes come across a performance bottleneck caused by functionality that I believe could be much faster....

más de 12 años hace | 23 respuestas | 3

23

respuestas

Respondida
How should I compute the eigenvectors of a sparse, real, symmetric matrix?
Just convert the matrix to a full one, and use eig. Unless less you want just a few eigenvectors, then the decomposition using t...

más de 12 años hace | 0

| aceptada

Pregunta


How should I compute the eigenvectors of a sparse, real, symmetric matrix?
I need to compute all the eigenvectors of a sparse, real, symmetric matrix, A. I've tried the following: >> [V, D] = eig...

más de 12 años hace | 3 respuestas | 0

3

respuestas

Respondida
Requirements for using parfor across multiple desktop PCs
You need a licensed copy of MATLAB and the Parallel Computing Toolbox on the PC running the parfor loop, and you need a licensed...

más de 12 años hace | 0

| aceptada

Pregunta


Requirements for using parfor across multiple desktop PCs
I have several desktop PCs running Windows, connected over a network, all with access to a common file system. I would like to d...

más de 12 años hace | 1 respuesta | 0

1

respuesta

Problema


Index one element in each vector of an array along a given dimension
Functions like min and max can return in their second output argument the index of the element in each vector along a particular...

más de 12 años hace | 10 | 58 solvers

Respondida
problem with errorbars and export_fig
Export_fig exports error bars just fine. Try: x=1:10; y=x.^2-2*rand(size(x)); err=abs(x.^2-y); errorbar(x,y,err,...

casi 13 años hace | 1

| aceptada

Resuelto


Animated GIF Creator
This Challenge is to execute the Function Template which has a fully functional Animated GIF creator of a shape related to a Zer...

alrededor de 13 años hace

Respondida
Placing plots into multiple page pdf document
The <http://www.mathworks.co.uk/matlabcentral/fileexchange/31215-appendpdfs append_pdfs> function can concatenate separate pdf f...

más de 13 años hace | 1

Respondida
How to define paper orientation in export_fig for pdfs
The export_fig submission <http://www.mathworks.co.uk/matlabcentral/fileexchange/23629-exportfig description>, help text and the...

más de 13 años hace | 0

Respondida
Best way to share code within laboratory
We use a version controlled repository, stored on a central server.

más de 13 años hace | 0

Respondida
Mix raster / vector in ps / pdf plots
I believe <http://www.mathworks.com/matlabcentral/fileexchange/727 exportfig> (which is different from <http://www.mathworks.com...

más de 13 años hace | 0

Pregunta


How do I change figure mode programmatically?
My figure has the rotate/zoom tool selected, and I wish to deselect it programmatically. How can I do this?

más de 13 años hace | 1 respuesta | 1

1

respuesta

Respondida
Create a figure -exactly- a certain size
export_fig (or rather, print) appears to only export that part of the figure which is on screen. Make the figure small and use t...

casi 14 años hace | 0

| aceptada

Respondida
Multiple “File Exchange” Animated GIF codes work for R2010a but not for R2011a
<http://www.mathworks.com/matlabcentral/fileexchange/32546-im2gif im2gif> works fine in R2012a

casi 14 años hace | 0

Respondida
Text size in figure on the screen vs when saving as png
Try using <http://www.mathworks.com/matlabcentral/fileexchange/23629 export_fig> as follows: export_fig -painters -r200 t...

casi 14 años hace | 0

Respondida
convert .fig to .jpg based on the ROI
<http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig Export_fig> automatically crops whitespace around figures b...

casi 14 años hace | 0

| aceptada

Respondida
Clearing handle subclasses with timer objects
per isakson is right, but I'll add more info here: The anonymous function does save a reference to class object. This in itse...

casi 14 años hace | 3

Pregunta


Clearing handle subclasses with timer objects
Save this class: classdef test_class < handle methods function this = test_class() fprintf('Hell...

casi 14 años hace | 2 respuestas | 0

2

respuestas

Resuelto


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be plac...

alrededor de 14 años hace

Resuelto


Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

alrededor de 14 años hace

Respondida
export_fig Warning: RGB color data not yet supported in Painter's mode
I added a paragraph in this issue to the export_fig webpage: http://sites.google.com/site/oliverwoodford/software/export_fig ...

alrededor de 14 años hace | 0

Respondida
execution of external program fails
I suggest you use the ghostcript function that comes with export_fig. It uses a full path if it needs to, but sets it automatica...

alrededor de 14 años hace | 0

Respondida
Help with exporting pcolorm with shading interp
If possible, use <http://www.mathworks.com/matlabcentral/fileexchange/11368-uimage-uimagesc uimagesc> instead of pcolorm. It wil...

alrededor de 14 años hace | 0

Respondida
How to find the linear distance between two points say (x,y) and (m,n) on an image?
p1 = [x; y]; p2 = [m; n]; d = norm(p1 - p2);

alrededor de 14 años hace | 3

Resuelto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

más de 14 años hace

Resuelto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

más de 14 años hace

Resuelto


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

más de 14 años hace

Resuelto


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

más de 14 años hace

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

más de 14 años hace

Cargar más