Darcy Cordell
Followers: 0 Following: 0
Feeds
回答済み
How to plot lines from a structure array faster?
I just figured out one solution and I will answer my own question in case others are interested. Still happy to hear if others h...
How to plot lines from a structure array faster?
I just figured out one solution and I will answer my own question in case others are interested. Still happy to hear if others h...
9日 前 | 0
質問
How to plot lines from a structure array faster?
I have a structure array with a series of line segments with the following form: S(1).Lat and S(1).Lon are both vector arrays o...
9日 前 | 2 件の回答 | 0
2
回答質問
How does indexing work when sorting a matrix?
My intuition is clearly off on this and any help is appreciated. For a vector, if you sort the vector and find the indices of t...
3ヶ月 前 | 3 件の回答 | 0
3
回答質問
Help designing very low pass filters (sub-mHz) for long time series
I am relatively new to filter design so patience is appreciated. I have an extremely long time series (e.g. ~100 million data p...
5ヶ月 前 | 2 件の回答 | 0
2
回答質問
Why is str2num not recommended when it is faster in certain circumstances?
I have a cell array of millions of strings representing dates with the format "yyyyMMddHHmmss" I need to convert these to datet...
5ヶ月 前 | 2 件の回答 | 0
2
回答質問
How to "flatten" parts of a MATLAB image (e.g. basemap) to save space when saving as a vector image?
I often make plots in MATLAB and then save as vector images (eps format) so that I can do further editing if needed in Adobe Ill...
5ヶ月 前 | 1 件の回答 | 0
1
回答質問
Why is it so difficult to add basemaps in the Mapping Toolbox?
I have been a bit frustrated by the MATLAB mapping functionality because it seems like the "mapping" functions are often not com...
5ヶ月 前 | 0 件の回答 | 1
0
回答質問
How to normalize an image position in a subplot?
I have some data which I then overlay a figure on top of like this: plot(rand(10),rand(10),'*') [img,~,alphachannel] = imrea...
6ヶ月 前 | 1 件の回答 | 0
1
回答質問
Where is the month, day and year string stored in a plot with a datetime axis which shows hours and minutes in the xticklabel string?
A somewhat specific question which I cannot find the answer for. Suppose I have some random data measured at different times wh...
10ヶ月 前 | 2 件の回答 | 0
2
回答質問
How to generate three figures to fill the screen (distributed vertically)?
This should be a very simple problem but I'm not sure if I've done something simple and wrong, or if there is some strange buggy...
約1年 前 | 2 件の回答 | 0
2
回答質問
Removing white space on pcolorm plots (for irregular rotated mesh)
My question is very similar to this one: https://www.mathworks.com/matlabcentral/answers/275814-white-space-in-map-grid To summ...
1年以上 前 | 1 件の回答 | 0
1
回答質問
How best to convert a (lat,long) network into a "line diagram" in MATLAB?
I have a transmission network with substations in (lat,long) coordinates connected by transmission line segments. I want to plot...
1年以上 前 | 1 件の回答 | 0
1
回答質問
How to assign elements in a vector to an entry in a structure array variable?
I have an Nx1 structure array which contains a variable: N = 100; S(1).Name = 'Jon'; S(2).Name = 'Phil'; S(3).Name = 'Bob'; ...
1年以上 前 | 3 件の回答 | 0
3
回答質問
How to access only the first element of the variables in a structure array as a vector?
Not sure I worded this question correctly, but I will try to explain. I have a (1 x N) structure array (S) which contains the f...
1年以上 前 | 1 件の回答 | 0
1
回答質問
New to filter design: Designing filters at very low frequencies (mHz) on logarithmic frequency scale
I am new to filter design, and I am trying to filter some signals to analyze the frequency content. I would like to look at low-...
2年弱 前 | 1 件の回答 | 0
1
回答質問
Faster interpolation of 2-D spatial data at different time steps without looping through the time steps?
I have a relatively small number of scattered data point locations (~30) which I want to interpolate onto a uniform spatial grid...
2年弱 前 | 1 件の回答 | 0
1
回答質問
How to save a fig file and re-open it with the same figure number?
Very simple question which I cannot find a simple answer to: If I save a figure with a particular figure number as a *.fig file...
約2年 前 | 1 件の回答 | 0
1
回答質問
Matrix multiplication along a specified dimension?
I have a 2x2xN matrix, A, and a 2xN matrix, X. I want to multiply each Nth 2x2 matrix in A by the Nth 2x1 matrix in X. I can do ...
約2年 前 | 1 件の回答 | 0
1
回答質問
How can I insert many columns into a matrix at different locations efficiently?
I have a matrix in which I need to delete several columns of zeros, perform some operation (i.e. matrix inverse), and then re-in...
約2年 前 | 1 件の回答 | 0
1
回答質問
Is there an easier way to index diagonal elements of a matrix?
Let's say I have a 10 x 10 diagonal matrix of random integers between 0 and 100: A = diag(randi(100,10,1)); I want to replace ...
2年以上 前 | 2 件の回答 | 0
2
回答質問
How to convert an image back to a data matrix?
I have a color PNG figure with contours which displays some data matrix as a colorplot. The figure was made elsewhere and cannot...
2年以上 前 | 1 件の回答 | 0
1
回答質問
How can I stop my Mac showing a new figure window on MATLAB while I am doing something else?
This seems like a very specific weird question that I can't find an answer to anywhere else. I am making lots of figures in MAT...
3年以上 前 | 1 件の回答 | 1
1
回答質問
How can I get randperm to return a permutation of a vector that has no entries at their original positions?
I want take a random permutation of a vector such that all entries of the vector move to a new location. For example, if I have...
3年以上 前 | 5 件の回答 | 0
5
回答質問
Why does pcolor require you to transpose the matrix when you give it x and y vectors?
Suppose you have an M by N matrix of data called A. Associated with that data is a vector in the x-direction with length M and a...
4年弱 前 | 2 件の回答 | 0
2
回答質問
Why does pcolor not display the full matrix?
There are several questions on here asking why pcolor does not display the full matrix. Most answers say something along the lin...
4年弱 前 | 1 件の回答 | 0
1
回答質問
Rendering EPS figures in MATLAB 2020 different than older versions?
I recently updated from MATLAB 2016 to MATLAB 2020a. I am trying to recreate certain EPS figures exactly and then import those ...
約4年 前 | 0 件の回答 | 0
0
回答質問
Formatting fread binary file (converting from FORTRAN script)
I am converting some Fortran to MATLAB and am stuck early on when trying to load a binary file. I know MATLAB well but I have no...
4年以上 前 | 0 件の回答 | 0
0
回答質問
Why does "tic/toc" output time info before my figure has plotted?
I am using a function to plot a somewhat complicated figure with many subplots and lots of data. I noticed that there was a bit...
4年以上 前 | 1 件の回答 | 0
1
回答回答済み
How to get geoshow to fill inside a polygon rather than outside?
Fix found here: https://www.mathworks.com/matlabcentral/answers/379817-shapes-displayed-incorrectly-using-geoshow-mapping-toolb...
How to get geoshow to fill inside a polygon rather than outside?
Fix found here: https://www.mathworks.com/matlabcentral/answers/379817-shapes-displayed-incorrectly-using-geoshow-mapping-toolb...
4年以上 前 | 0
質問
How to get geoshow to fill inside a polygon rather than outside?
I am using geoshow to plot filled polygons on a map. The polygons represent lakes. I have latitude and longitude coordinates sav...
4年以上 前 | 1 件の回答 | 0