Respondida
How can I pause until the "return" key is pressed?
You may be able to use <http://www.mathworks.com/help/matlab/ref/waitforbuttonpress.html |waitforbuttonpress|>.

casi 11 años hace | 1

| aceptada

Respondida
how to get the location and the color of a pixel in workspace by clicking with the mouse - Matlab
I wrote a <http://www.mathworks.com/matlabcentral/fileexchange/53656 |colorpicker|> function to make this a bit easier.

casi 11 años hace | 0

| aceptada

Enviada


colorpicker
Get RGB values of any point(s) on a figure from mouse click(s)

casi 11 años hace | 2 descargas |

5.0 / 5
Thumbnail

Respondida
Change x-axis grid lines
You can turn on minor ticks by set(gca,'XMinorTick','on') and/or set(gca,'XMinorGrid','on') but exact values...

casi 11 años hace | 2

| aceptada

Enviada


fastscatterm
A much faster version of scatterm.

casi 11 años hace | 1 descarga |

0.0 / 5
Thumbnail

Respondida
Save data every at loop interation
That depends on what you mean by saving. If you just want it in your workspace, for k=1:N V(i,1)=A(i,1) Z=1...

casi 11 años hace | 0

Respondida
I am having some issues calculating grades using matlab.
Or more succinctly, x = 80; letters = {'F','D','C','B','A'}; disp(letters{min([ max([floor((x-50)/10) 0])+1 5]...

casi 11 años hace | 1

Respondida
[DISCONTINUED] New design of the forum - grey on white / wish list #3 / bug reports
The design of this forum just keeps getting worse. Seems to be slower than ever, harder to navigate, harder to see new question...

casi 11 años hace | 2

Enviada


filter1
1D zero-phase frequency filtering using butterworth filters

casi 11 años hace | 2 descargas |

4.9 / 5
Thumbnail

Enviada


plotpsd
Quickly plot power spectral density of a time series.

casi 11 años hace | 2 descargas |

4.8 / 5
Thumbnail

Respondida
problem related to for loop
You can't start indexing with zero. You'll have to do |for l = 1:length(m)|

casi 11 años hace | 0

Respondida
How can I set the NoData value using Geotiffwrite
For most of the GeoTIFFs I've used, NaNs have been set to the value |-32767|. If you're saving matrix |Z| that has |NaN| values...

casi 11 años hace | 0

Pregunta


Is there ever a good time to use elseif?
I've been helping colleagues debug their codes lately, and I keep finding problems stemming |elseif| statements, particularly if...

casi 11 años hace | 2 respuestas | 1

2

respuestas

Respondida
How can I define a Mapping Toolbox stereographic projection using the information from a projection file (.prj) ?
Alternatively, with Antarctic Mapping Tools available on File Exchange, simply type antmap to initialize a southern he...

casi 11 años hace | 0

Respondida
How to plot a 3D graph?
This isn't a problem with plotting, it's a problem with your data. See: hist(TT(:)) Your |TT| matrix has some pretty b...

casi 11 años hace | 0

Respondida
How to plot x,y of a non-function?
Does this do what you want? t = 1:30; x = 50*cosd(4*t)+5*rand(size(t)); y = 40*sind(6*t)-10*cosd(5*t)+3*rand(size...

casi 11 años hace | 0

Respondida
Computing distance between vectors and finding the ids of the points and the time
Check out John D'Errico's inter-point distance matrix function on File Exchange. mmsi = repmat((500:510)',5,1); lat =...

casi 11 años hace | 0

| aceptada

Respondida
Superimposing of the boundaries of world countries on a map
Hi Ehsan, You can use a function I wrote for this called <http://www.mathworks.com/matlabcentral/fileexchange/50390-borders/...

casi 11 años hace | 0

| aceptada

Respondida
How can I set colorbar properly?
Looks like this issue keeps popping up. Unless the values in |clim5| are only 1, 2, 3, 4, and 5, using |'YTick'| values of |1:l...

casi 11 años hace | 0

Respondida
Why pcolor and m_pcolor do not use every colors in the figure?
This looks like an issue similar to your other question. Your |'Ytick'| values are |1:length(map)|, but I have a feeling they s...

casi 11 años hace | 0

Respondida
Why does not m_pcolor draw some colors?
I'm not sure if this is causing your problems, but your Ytick values should be [1, 4, 5, 6, 9, 11, 17]; not [1:le...

casi 11 años hace | 0

Respondida
Make a tensor with nc images?
Ah, .mat files are Matlab's own file format. The nice thing about .mat files is that they're super easy to work with when you u...

casi 11 años hace | 0

Respondida
What does the array mean?
The |eye| function creates the identity matrix. It's just ones in a diagonal line, with zeros everywhere else. So >> eye...

casi 11 años hace | 0

Enviada


SODB Southern Ocean Database Toolbox
Access, interpolate, and plot SODB data.

casi 11 años hace | 2 descargas |

0.0 / 5
Thumbnail

Respondida
Make a tensor with nc images?
I think you need <http://www.mathworks.com/help/matlab/ref/ncread.html |ncread|> rather than |hdfread|. NetCDF and HDF formats a...

casi 11 años hace | 0

| aceptada

Enviada


anglemath
Perform cumsum or cumtrapz along an arbitrary angle.

casi 11 años hace | 2 descargas |

0.0 / 5
Thumbnail

Respondida
Text Wrap Problem in Paragraph and Text Components- Report Generator
The <http://www.mathworks.com/matlabcentral/fileexchange/53176-wraptext/content/wraptext/html/wraptext_documentation.html |wrapt...

casi 11 años hace | 0

Respondida
How to wrap due to specify the number of columns chars in a picture
Another option is <http://www.mathworks.com/matlabcentral/fileexchange/53176-wraptext/content/wraptext/html/wraptext_documentati...

casi 11 años hace | 0

Respondida
output file text creation text wrap around
<http://www.mathworks.com/matlabcentral/fileexchange/53176-wraptext/content/wraptext/html/wraptext_documentation.html |wraptext|...

casi 11 años hace | 0

Respondida
wrap text with disp.
I ended up writing a function for this called <http://www.mathworks.com/matlabcentral/fileexchange/53176-wraptext/content/wrapte...

casi 11 años hace | 0

| aceptada

Cargar más