已回答
can this plotted circle be filled? it needs to have a solid color
You can use my <https://www.mathworks.com/matlabcentral/fileexchange/45952-circle-plotter |circles|> function. Just specify, x,y...

7 years 前 | 0

已回答
How I applly a bandpass filter in a signal?
Hi Guilherme, If you have the signal processing toolbox you can use my <http://www.mathworks.com/matlabcentral/fileexchange/...

7 years 前 | 1

已回答
contourf min max is it possible?
Here's an example you can run. If |Cp| is a matrix like this: Cp = peaks(1000); and you want to make a contourf plot, ...

7 years 前 | 0

已回答
How can i get a RGB values from a picture?
Hi Caner, The <https://www.mathworks.com/help/matlab/ref/imread.html |imread|> function will read any image and give you the...

7 years 前 | 8

已回答
Need help coding a grading system to a data set.
I'd skip the |if| statement entirely and treat it like a histogram. You can use |histcounts| to get to bin the averages. Somethi...

7 years 前 | 0

已回答
How to plot a globe mesh with data located on it
Perhaps <https://www.mathworks.com/matlabcentral/answers/350195-how-can-you-plot-lines-of-latitude-and-longitude-on-a-globe-with...

7 years 前 | 1

已回答
Plotting time series axis time labels
Unfortunately |dateticks| are not dynamic, meaning if you set the dateticks and then zoom, the ticks don't get updated. You can ...

7 years 前 | 0

| 已接受

已回答
how to create a gray scale image of a cube on matlab??
Does <https://www.mathworks.com/matlabcentral/fileexchange/15161-plotcube this> work for you?

7 years 前 | 0

已回答
Make a pie chart map
Edward Tufte says the only thing worse than a pie chart is several of them. Also, by "size of the circle" do you mean its radius...

7 years 前 | 0

已回答
flipud will not work anymore
The simplest solution is to use the |-| sign when calling |cmocean|. So instead of cmap = cmocean('deep','5'); use ...

7 years 前 | 0

| 已接受

已回答
How to change the median value on colorbar
Hi Vince. The answer is you _can_ do this, but you probably don't want to. I think it would mean developing a mathematical trans...

7 years 前 | 0

| 已接受

已回答
I need a code that produce a moving average matrix with a 5*5 window
The <https://www.mathworks.com/help/matlab/ref/conv2.html |conv2|> function performs 2D convolution of two matrices. One of thos...

7 years 前 | 3

| 已接受

已回答
Is there a way to extract map data out of the Matlab mapping toolbox?
Hi Leon, You can simply use my <https://www.mathworks.com/matlabcentral/fileexchange/50390-borders |borders|> function, whic...

7 years 前 | 0

已回答
Surface bounded by a polygon
Without any sample data or illustrations it's mighty difficult to know exactly what you mean, but it sounds like <https://www.ma...

7 years 前 | 0

| 已接受

已回答
Color plot Y2 as a function of X,Y1
I'd probably concatenate the x position and depth of every salinity measurement, then grid them up with <https://www.mathworks.c...

7 years 前 | 1

| 已接受

已回答
How do I create an 2D intensity map from a PNG image?
That looks like your data are on a grid about 11x11 or so, and linearly interpolated between data points. To plot an 11x11 matri...

7 years 前 | 0

| 已接受

已回答
PNG as figure background
Try this. Start by plotting whatever data you have, then load the png image and plot it with |image|. Use the limits of the curr...

7 years 前 | 7

| 已接受

已回答
Extract outline of polygons defined by gridded mask
I just ran into this same issue. My mask contains only a few grid cells and I needed an exact outline of the grid cells in my ma...

7 years 前 | 0

已回答
accurate 3 D plotting
I think it'd be easier to use the <https://www.mathworks.com/help/matlab/ref/cylinder.html |cylinder|> function or there a few e...

7 years 前 | 0

已回答
Calculating correlation of different time series
So you have two different signals, |y1| and |y2|, each measured at their own respective times |t1| and |t2|. First, use <htt...

7 years 前 | 0

已回答
Why is the size of the function different in plot3 and quiver3?
The |quiver| and <https://www.mathworks.com/help/matlab/ref/quiver3.html |quiver3|> functions automatically scale the vectors. T...

7 years 前 | 0

| 已接受

已回答
Hi.. this program contains no errors, I do not know why the compilaton is long !!!
I formatted the code to make it easier for folks to read. Using the <https://www.mathworks.com/help/matlab/ref/profile.html ...

7 years 前 | 0

已回答
for loop count number of times logical matrix is true and store
Catherine, I don't think you need a loop at all. If you have some 3D salinity matrix |sal|, whose dimensions correspond to lat,l...

7 years 前 | 1

已回答
import matrix into mapping toolbox? or just draw coastlines in fig
Hi Kate, There are a couple of ways you can skin this cat. An easy and computationally efficient way to do it without the Ma...

7 years 前 | 1

已回答
How can I plot MODIS HDF-EOS grid images into geographic coordinates (lat-lon)?
I wrote a function for this, which is available on File Exchange <https://www.mathworks.com/matlabcentral/fileexchange/64387 her...

7 years 前 | 0

已提交


Sinusoidal Projection grid for NASA Level 3 Ocean Biology data
Geolocate data points from ocean color bin indices.

7 years 前 | 4 次下载 |

Thumbnail

已回答
Reading HDFS from Matlab - what toolboxes do I need?
The <https://www.mathworks.com/help/matlab/ref/h5read.html |h5read|> function has come standard since Matlab release 2011a, and ...

7 years 前 | 0

已回答
How to open netcdf4 file in MATLAB
If the NetCDF file you are using is one of the ones found <https://oceandata.sci.gsfc.nasa.gov/MODIS-Aqua/Binned/Monthly/CHL her...

7 years 前 | 2

| 已接受

已回答
How to plot a sequence of rectangular pulses with a period of 2 seconds, amplitude 1 unit, duty cycle 50%, and the pulses run for 10 seconds.
You have these lines nwid = 1; for nn = 2:nwid ... end which effectively says |for nn = 2:1|, so nothing in...

7 years 前 | 0

已回答
Shade area between two curves and maintain central solid line in shaded area
Hi Matt, I recommend Kelly Kearney's <https://www.mathworks.com/matlabcentral/fileexchange/27485-boundedline-m |boundedline|...

7 years 前 | 0

| 已接受

加载更多