回答済み
Using Worldmap function to develop maps
When you say "shape of the map", do you mean you want higher resolution coastlines? If so, there are many places to download hi...

8年以上 前 | 1

回答済み
Kriging codes in matlab
Walter's answer links to the best toolbox that I know of for kriging in Matlab. However, if you really want to use the gstat me...

8年以上 前 | 2

| 採用済み

回答済み
How to create array of linearly spaced values from starting and ending points
This method is faster than looping over linspace: x = linspace(0,1,nPoints); A2 = go + x.*(st - go); Here's a timing ...

8年以上 前 | 7

| 採用済み

回答済み
How to make pcolor plot from three vector
You can calculate the bin averages pretty quickly using |discretize| and |accumarray|: Some sample data: npt = 10000; ...

8年以上 前 | 1

| 採用済み

回答済み
How to take an average over one month during different years ?
A bit hard to tell from your screenshot whether your time array is an array of datetimes or an array of date strings. Assuming ...

8年以上 前 | 0

| 採用済み

回答済み
Function to read a 16bit color composite image to matlab
Many years ago, I had to work with some 16-bit color avi files. Those files stored the RGB color data using 16 bits per pixel: 5...

9年弱 前 | 0

回答済み
Plotting vectors with different lengths due to missing values
Can you give a small sample of your data? Is it manually entered in a script, or are you reading it in from a file? In gener...

9年弱 前 | 1

回答済み
For loop: max iterations exceeded
That message typically comes from optimization routines, and it indicates that it wasn't able to meet the optimization criteria ...

9年弱 前 | 1

回答済み
Why my code doesn't work?
I haven't given any thought to the algorithm you show, though a quick test does seem to indicate it converges to cosh for small ...

9年弱 前 | 1

回答済み
How can I speed up these for loops?
You're calling |interp2| 800 times with a single point each. Just moving that outside the loop should be able to speed things u...

9年弱 前 | 0

| 採用済み

回答済み
Change default behavior of cellfun to 'UniformOuput' = false
I really wish this was an option too! I use cellfun all the time, and almost always with cell outputs required. This is one of...

9年弱 前 | 1

| 採用済み

回答済み
Generating 50 Random locations inside geo map data
Do you want the points to be specifically located in the named land mass? Or anywhere on land within the designated map limits?...

約9年 前 | 0

回答済み
How can I take the cosine argument with regexp
Perhaps I'm misunderstanding what you're looking for, but does the following match the pattern you want? str = 'cos(-2/3*pi...

約9年 前 | 0

| 採用済み

回答済み
Trying to plot a point on m_map but it does not appear.
Like |plot|, the default marker for |m_plot| is none... good for plotting lines, but not single points. Add a marker and you sh...

約9年 前 | 0

回答済み
Mapping Toolbox: Eigenvector specifies Color of shape file
The easiest way to do this with complex polygons (multi-face polygons or polygons with holes, as is often the case with borders)...

約9年 前 | 3

| 採用済み

回答済み
How do I get a "tabular" legend?
You can hack your way to a solution with my <https://www.mathworks.com/matlabcentral/fileexchange/31092-legendflex-m--a-more-fle...

約9年 前 | 3

| 採用済み

回答済み
Freqz plotting warning when use latex as default interpreter
The Latex interpreter assumes text is written in Latex text mode, and requires typical Latex markup ($ or $$) to switch the stri...

約9年 前 | 2

回答済み
Finding normals to contours on contour plot
Take a look at the various streamline functions ( |stream2|, |streamline|, etc). Depending on your surface, you may need to do ...

約9年 前 | 4

| 採用済み

回答済み
plot multiple time plots
What version of Matlab are you running? Zooming and panning with a time axis is much easier with datetimes than datenumbers, bu...

約9年 前 | 0

| 採用済み

回答済み
Merging Table with Duplicate Dates
The |accumarray| function is designed for this sort of problem: % Your data data = {... 736561 'USA' 2752 251 7...

約9年 前 | 2

| 採用済み

送信済み


findclump
Locate clumps of points in space

9年以上 前 | ダウンロード 1 件 |

0.0 / 5
Thumbnail

回答済み
HOW TO UPDATE NEWREADER FILES ?
I'll confirm that I'm seeing the same thing when viewing the newsreader through the MatlabCentral viewer. I assume this is a pr...

9年以上 前 | 0

回答済み
Setting a title for a legend
As a workaround, <https://www.mathworks.com/matlabcentral/fileexchange/31092-legendflex-m--a-more-flexible--customizable-legend ...

9年以上 前 | 6

回答済み
Plotting image over map
You'll need to georeference the image. You might be able to do this automatically on import if the image already has that info ...

9年以上 前 | 1

回答済み
How do I take average of specific portions of data with overlap?
First comment: don't store values in variables with numbered names like that. It just makes a mess, and that's why arrays were ...

9年以上 前 | 2

| 採用済み

回答済み
MATLAB won't let me change the value of a string
Note that your initial code *doesn't* declare a 91x1 matrix of the word "base value", as you claim it does. TOTAL_VIEWPOINT...

9年以上 前 | 1

回答済み
How do I plot value ranges in polar or spider
Given all your specifics, I think it would be much easier to just build the plot manually, rather than try to use any FEX entrie...

9年以上 前 | 3

| 採用済み

回答済み
Remove duplicate locations and replace by a single one
If you simply want to isolate the points, perhaps my <http://www.mathworks.com/matlabcentral/fileexchange/61085-findclump findcl...

9年以上 前 | 0

回答済み
Explicitly specifying line colors when plotting a matrix
An alternative method would be to save the handles of the plotted data and set the colors via the array option of |set|. I find...

9年以上 前 | 29

| 採用済み

回答済み
2D Section of 3D coordinates
The |slice| function may be of use here.

9年以上 前 | 0

さらに読み込む