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

más de 11 años hace | 0

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

más de 11 años hace | 2

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 1

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 17

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

Enviada


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

más de 11 años hace | 1 descarga |

0.0 / 5
Thumbnail

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

más de 11 años hace | 3

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 2

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 1

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

más de 11 años hace | 1

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

Enviada


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

más de 11 años hace | 3 descargas |

0.0 / 5

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 1

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

más de 11 años hace | 1

Enviada


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

más de 11 años hace | 3 descargas |

5.0 / 5
Thumbnail

Pregunta


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

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

1

respuesta

Cargar más