Respondida
Is there a fix for a bug in the gshhs function from the MATLAB mapping tool box? Faulty section of coast off South America.
All of Matlab's built-in coastlines are pretty lousy, but here's a fix: Delete |world = gshhs('gshhs_c.b');| and delete the ...

alrededor de 12 años hace | 4

| aceptada

Respondida
What common mistakes causes Matlab to crash?
At least once a week I get the dimensions wrong in |repmat|, causing Matlab to try to create an impossibly large matrix.

alrededor de 12 años hace | 0

Pregunta


What common mistakes causes Matlab to crash?
Do you frequently make a mistake that causes Matlab to crash or freeze up?

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

Respondida
How to save an array output to file every 1000 iterations?
If you can keep your analysis in Matlab, saving to a .mat file tends to be a smoother process. The syntax is save myfile ...

alrededor de 12 años hace | 0

Respondida
Writing a huge table to a text file is taking a very long time (R2013b)
I've used |dlmwrite| for comma-delimited text files about this size, but I had trouble mixing numbers and strings. Using only n...

alrededor de 12 años hace | 0

Respondida
Is the "distance" function for calculating the distance between two latitude and longitude points on Earth unavailable on version R2012a?
If you do not have the Mapping Toolbox, there are some equivalent functions available on the File Exchange site that do not requ...

alrededor de 12 años hace | 0

Respondida
getframe not updating when outputting video/images
I've had troubles with |getframe| in the past. I've had better luck using <http://www.mathworks.com/matlabcentral/fileexchange/...

alrededor de 12 años hace | 0

Respondida
Nearest nodes to a given point
http://www.mathworks.com/matlabcentral/fileexchange/18937-ipdm--inter-point-distance-matrix

alrededor de 12 años hace | 0

Pregunta


How to read a large .img file
I have a 4 GB image file that Matlab is choking on. I'd like to get this file into Matlab. Here is the code that makes my comp...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
How to get RGB color matrix from input array
|cmap = colormap;| returns the current colormap. Your question is tough to interpret. Are you plotting your 10x1 array with |i...

alrededor de 12 años hace | 1

Respondida
Changing color of scatter point based on axis
This is a confusing question. All points are associated with the x and y axes, no? To change the color of the points, incl...

alrededor de 12 años hace | 0

Respondida
Why isn't this if statement nested in a for loop working?
It doesn't work because |n| (a scalar) will never equal |IdleFuelIndex| (a vector).

alrededor de 12 años hace | 0

Respondida
Tweak legend entries without creating a new legend
I did not quite figure out how to edit an existing legend, but I did work up <http://www.mathworks.com/matlabcentral/fileexchang...

alrededor de 12 años hace | 0

| aceptada

Enviada


legappend
Append new entries to an existing legend

alrededor de 12 años hace | 6707 descargas |

2.5 / 5
Thumbnail

Respondida
How to sortvalues in a variable based on another variable
It's nice that you have given an example, but I need help understanding how you have sorted things in your example. The |so...

alrededor de 12 años hace | 0

Respondida
mask the data relating to the contour of the continents
Perhaps <http://www.mathworks.com/help/matlab/ref/inpolygon.html |inpolygon|> will do it?

alrededor de 12 años hace | 0

| aceptada

Pregunta


Tweak legend entries without creating a new legend
I have created a plot with a legend and now I would like to edit legend entries without recreating the whole legend. For exampl...

alrededor de 12 años hace | 3 respuestas | 0

3

respuestas

Enviada


grayout
Lighten or darken lines after plotting

alrededor de 12 años hace | 484 descargas |

0.0 / 5
Thumbnail

Respondida
(NOOB) Dealing with large numbers? Any advice on existing code appreciated!
Your function seems to do a few things twice. For example, the inputs and outputs. The user will interact with the function in...

alrededor de 12 años hace | 0

Enviada


Post-glacial rebound
Interpolate and plot post-glacial rebound or glacial isostatic adjustment.

alrededor de 12 años hace | 711 descargas |

5.0 / 5
Thumbnail

Respondida
3d plot by using points for generating hollow cylinder
You can create patch objects for each component (outside, inside, and two ends). Try typing |doc patch| for info on patch objec...

alrededor de 12 años hace | 0

| aceptada

Respondida
Organizing plots in a publish html document
A quick and dirty solution would plot a single figure with 21 subplots.

alrededor de 12 años hace | 0

| aceptada

Respondida
New to matlab please help
A couple of things: Make a habit of ending lines with a semicolon (;) to suppress the output. It doesn't make a big differe...

alrededor de 12 años hace | 1

| aceptada

Enviada


How to map sea level rise
A simple example of how to create a map of sea level rise using publicly-available data.

alrededor de 12 años hace | 931 descargas |

5.0 / 5
Thumbnail

Respondida
Extracting part of grid from meshgrid
1. Instead of |griddata| you may want to consider <http://www.mathworks.com/matlabcentral/fileexchange/8998 |gridfit|> because i...

alrededor de 12 años hace | 1

| aceptada

Respondida
How can I extract some frames in specific times from a video realtime and do processing on it?
You can use the <http://www.mathworks.com/help/matlab/ref/frame2im.html |frame2im|> function.

alrededor de 12 años hace | 0

Enviada


clearempty
clear all empty variables from current workspace

alrededor de 12 años hace | 362 descargas |

0.0 / 5

Respondida
How to save .eps files with different figures?
You could set the name of each figure by set(gcf,'name',['figure number ',num2str(figNum(i))]) Then when saving each fi...

alrededor de 12 años hace | 0

| aceptada

Pregunta


How can we encourage more thoughtful feedback on FEX submissions?
Is there a way that either TMW or File Exchange (FEX) users can encourage more thoughtful feedback on FEX pages? I find that ra...

alrededor de 12 años hace | 5 respuestas | 6

5

respuestas

Respondida
how to locate the many separated element in a matrix by row number & column number ?
The <http://www.mathworks.com/help/matlab/ref/find.html |find|> function should work.

alrededor de 12 años hace | 0

Cargar más