Community Profile

photo

Darcy Cordell


Last seen: Today Active since 2018

Statistics

  • Thankful Level 3
  • First Review

View badges

Content Feed

View by

Question


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

15 dagen ago | 1 answer | 0

1

answer

Question


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

4 maanden ago | 1 answer | 0

1

answer

Question


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

4 maanden ago | 1 answer | 0

1

answer

Question


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

4 maanden ago | 1 answer | 0

1

answer

Question


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

6 maanden ago | 2 answers | 0

2

answers

Question


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

10 maanden ago | 1 answer | 0

1

answer

Question


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

meer dan een jaar ago | 1 answer | 1

1

answer

Question


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

bijna 2 jaar ago | 5 answers | 0

5

answers

Question


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

ongeveer 2 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 2 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 2 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 2 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 0

Question


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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


What is the kstest2 in MATLAB doing to compute the empirical distribution function?
According to Wikipeda, to compute the 2-sample Kolmogorov-Smirnov test, you first compute the empirical cumulative distribution ...

ongeveer 4 jaar ago | 0 answers | 0

0

answers