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

12 years ago | 4

| accepted

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

12 years ago | 0

Question


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

12 years ago | 3 answers | 0

3

answers

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

Answered
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/...

12 years ago | 0

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

12 years ago | 0

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 1

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

Submitted


legappend
Append new entries to an existing legend

12 years ago | 2 downloads |

2.5 / 5
Thumbnail

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

12 years ago | 0

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

12 years ago | 0

| accepted

Question


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

12 years ago | 3 answers | 0

3

answers

Submitted


grayout
Lighten or darken lines after plotting

12 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
(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...

12 years ago | 0

Submitted


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

12 years ago | 2 downloads |

5.0 / 5
Thumbnail

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 1

| accepted

Submitted


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

12 years ago | 2 downloads |

5.0 / 5
Thumbnail

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

12 years ago | 1

| accepted

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

12 years ago | 0

Submitted


clearempty
clear all empty variables from current workspace

12 years ago | 1 download |

0.0 / 5

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

12 years ago | 0

| accepted

Question


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

12 years ago | 5 answers | 6

5

answers

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

12 years ago | 0

Load more