Answered
How to change default pointer color in mapshow?
Can you simply use |plot|? plot(-0.5796,-0.0335,'*','color','y')

11 years ago | 0

Answered
How to plot point coordinates with connecting lines in between.
|x(1)| refers to only the first element in some variable |x|, and similarly, |x(2)| refers to only the second element. So you c...

11 years ago | 2

Answered
axis changes even after "axis equal"
If you don't |hold| the plots, axis limits will be reset every time you call |plot|. For an animation, you can use hold and eit...

11 years ago | 0

| accepted

Answered
User defined function for volume of a fuel tank
Where to start? The same way you'd solve the problem on paper. Actually, it's probably a good idea to solve the problem on pap...

11 years ago | 0

Answered
Remove error bar ends for R2014b?
This <http://www.mathworks.com/matlabcentral/fileexchange/50472-errbar/content/errbar/html/errbar_documentation.html |errbar| fu...

11 years ago | 0

| accepted

Answered
Errorbar remove tee, 2015
I've run into this problem often enough that this post finally inspired me to turn it into a function. The end lines generated ...

11 years ago | 1

Answered
How to read large tiff or img file?
If you don't need the whole image, you can specify a region of pixels by range of rows and columns: A=imread(filename,'Pix...

11 years ago | 1

| accepted

Answered
Plotting multiple histograms in one figure
After plotting the first histogram, you can use |hold on| to plot more histograms on top. If you're using Matlab 2014b or later...

11 years ago | 17

Answered
how to select data based on month
Or with a time vector |t| in datenum format, you can use <http://www.mathworks.com/matlabcentral/fileexchange/48361-downsample-t...

11 years ago | 0

Answered
plotting in 2d with imagesc
You can specify the x and y coordinates of each pixel with |imagesc|, and use |axis xy| to ensure the y direction is positive up...

11 years ago | 1

| accepted

Submitted


Sea level rise trend interpolator
Simply interpolate the measured 1993-2014 sea level trend to any given lat(s)/lon(s)

11 years ago | 2 downloads |

0.0 / 5
Thumbnail

Answered
Plot world map with nation borders and defining facecolor per country
The <http://www.mathworks.com/matlabcentral/fileexchange/50390-borders |borders|> function does this easily.

11 years ago | 3

Answered
Adding countries borders on an existing map
Try using <http://www.mathworks.com/matlabcentral/fileexchange/50390-borders |borders|>.

11 years ago | 0

Answered
Importing geographical maps in matlab
Using <http://www.mathworks.com/matlabcentral/fileexchange/50390-borders |borders|>, worldmap('africa') % initializes a m...

11 years ago | 0

| accepted

Answered
Hello. I tried many times to make a Mongolian map using Matlab. But not successful. Please help me
Similar to Enkh's solution, but with just one line of code, you can use <http://www.mathworks.com/matlabcentral/fileexchange/503...

11 years ago | 2

Answered
vertical axis is flipped
Image axes are like that because image coordinates start at the top left corner if you're counting pixels. It's an old conventi...

11 years ago | 1

| accepted

Answered
Find initial and fine time values for motion
Some major issues: 1. The first time |t| is declared, you then immediately overwrite it when you say |for t = [0:.001:T]|. ...

11 years ago | 1

Answered
Find initial and fine time values for motion
It looks like t(find(v>=16,1,'first')) should be the first time the ball is greater than or equal to 16. A tip: in...

11 years ago | 1

Answered
Variable names in loop?
There are a couple of ways you can do this. One way is to populate a list of names manually before starting the loop: fil...

11 years ago | 0

| accepted

Answered
Wrong patch using the Faces and Vertices properties when projected on map (patchm)
I've had similar problems with |patchm| before. I'm not sure why it helped in my particular case, but the fix I found was to fl...

11 years ago | 0

Answered
HIstogram comparision of two color images and store it in a database
If you have Matlab 2014b or 2015a, you can use |histogram| and specify |'facealpha'| to make the bars semitransparent. If you ha...

11 years ago | 0

Submitted


islatlon(lat,lon)
Boolean check to see if input arrays likely represent geo coordinates.

11 years ago | 3 downloads |

0.0 / 5

Answered
How do I create a BSFC contour map?
How's this? It uses John D'Errico's <http://www.mathworks.com/matlabcentral/fileexchange/8998-surface-fitting-using-gridfit |gri...

11 years ago | 0

| accepted

Answered
Assigning property/value to image color, Oklahoma state
Assuming you have data in x and y coordinates (switch x and y with lon and lat, if you're using geocoordinates), start by preall...

11 years ago | 0

| accepted

Answered
Daily values to monthly sums
Alternatively, <http://www.mathworks.com/matlabcentral/fileexchange/48361-downsample-ts/content/downsample_ts/html/downsample_ts...

11 years ago | 0

Answered
Plot colored grid with transparency and overlay
The simplest way I can think of is to concatenate the three variables as individual RGB values and display as an image like this...

11 years ago | 0

Answered
Correct database - fill missing data
Or <http://www.mathworks.com/matlabcentral/fileexchange/48324-repnan/content/repnan/html/repnan_documentation.html |repnan|>.

11 years ago | 1

Answered
Correct database - fill missing data
Does <http://www.mathworks.com/matlabcentral/fileexchange/45842-interp1gap/content/interp1gap/html/interp1gap_documentation.html...

11 years ago | 1

Submitted


Sold Earth Tide Predictions
A Matlab wrapper for Milbert's DOS version of Dehant's Fortran code.

11 years ago | 1 download |

5.0 / 5
Thumbnail

Question


passing multiple inputs to .exe via system or dos
I'm trying to pass a series of inputs to an executable via the |system| command, but in every way I've tried to run it, I'm prom...

11 years ago | 1 answer | 0

1

answer

Load more