Community Profile

photo

millercommamatt


North Carolina State University

Active since 2013

Atmospheric Research Scientist

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • 3 Month Streak
  • Knowledgeable Level 2
  • Project Euler I
  • Introduction to MATLAB Master
  • First Submission
  • Thankful Level 1
  • First Answer
  • Community Group Solver
  • Commenter
  • Speed Demon
  • CUP Challenge Master

View badges

Content Feed

View by

Answered
How can I overlay a shapefile onto a geoscatter plot?
Plotting shapefiles on a geographic axis isn't always the best experience. You'll note that geoshow is intended for use with a s...

3 months ago | 0

| accepted

Answered
Download MATLAB2020b for linux
On the download page you can select your release on the left hand side, and then you can selection your OS via the main download...

3 months ago | 0

Answered
Help plotting satellite data?
geoshow(lat(:), lon(:), long(:),'DisplayType','ImageMap');

3 months ago | 0

| accepted

Answered
Basic question about loops
You could make use of genvarname, but this would work too. for i = 2:5 eval(['Idx' num2str(i) ' = Idx(:,' num2str(i) ');']...

3 months ago | 0

| accepted

Answered
Convert nifti file containing a brain region of interest to a logical vector (number of seeds (in this case 1) x number of voxels?
Start here: https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI

3 months ago | 0

Answered
Load .slk file format (excel can open it, but can't import it to matlab)
data = readtable('your_spreadsheet.slk','FileType','spreadsheet');

3 months ago | 0

Answered
How to Convert .nii file to png/jpg
https://www.mathworks.com/matlabcentral/fileexchange?q=NIfTI

3 months ago | 0

Answered
Why MATLAB cannot render $\Beta$ (LaTeX string) in xlabel, ylabel?
For an upper case beta, just use B and not \Beta. Here's the characters you can use: https://www.mathworks.com/help/matlab/crea...

3 months ago | 1

| accepted

Answered
Can anyone tell me what this does
That looks like a calculation for a percentage change.

3 months ago | 0

| accepted

Question


How do I get the brush tool to ignore points?
Let's say I have a single figure with multiple line or scatter objects sharing the same axis. I would like to use the brush too...

3 months ago | 1 answer | 0

1

answer

Question


Outerjoining timetables giving unwanted NaN/NaT values
I'm trying to outerjoin two timetables using a common non-time key. Here's an example: >> Tleft = timetable(seconds([1;2;4;6])...

4 months ago | 0 answers | 0

0

answers

Answered
How to plot binary matrix as dots?
FH = figure; imagesc(yourMatrix); colormap(FH,[0,0,0;1,1,1]);

4 months ago | 0

Answered
How to set the thickness of edge for one marker in plot?
The 'LineWidth' Property controls the thickness of the marker edge. e.g. plot(data(:,1),data(:,2),'o','MarkerSize',5, 'Marke...

6 months ago | 0

| accepted

Answered
Plot time series analysis from multiple netcdf files
Read each netCDF file. Concatenate the arrays. Plot the concatenated arrays.

6 months ago | 0

Answered
How to make a Video from 3D array
You never defined the variable cmap which is supposed to be a color map. Try This: Orig = rand(600,600,28); camp=parula; X =...

6 months ago | 1

Answered
Plot polygons defined by the specific points on map
There are many ways to do this, but this works. lats= [30 32 31; 29 30 31]; lons = [-102 -103 -104; -100 -103 -101]; [numrows...

7 months ago | 0

Answered
Image registration with imwarp without scaling?
Try using imregtform with transformType set to rigid.

7 months ago | 0

Answered
Why doesnt int2str return string
It's turned your value into a char, not a string. ischar(int2str(F{1,4})) should return true If you look at the function hel...

7 months ago | 0

| accepted

Answered
find finite numbers in B using logic indexing ?
B_finite_only = B(isfinite(B)); B_finite_only_sum = sum(B_finite_only);

7 months ago | 0

| accepted

Answered
random letter bother upper & lower case
This is a fun puzzle. Upper-case letters run of 65-90 in an ASCII table and lower-case runs from 97 to 122. You can use char to ...

7 months ago | 1

| accepted

Answered
How to obtain indices of cell arrays?
There might be an easier way to do this, but it works. % get the indices of all non-empty cells [row,col] = find(cellfun(@(x) ...

7 months ago | 0

| accepted

Answered
How do I convert a 3x1 cell to a 1x3
The transposition operator will work. a={1,2,3}; % 1x3 cell a = a'; % a now a 3x1 cell a = a'; % a is a 1x3 cell again

7 months ago | 0

Answered
How to Increase the rectangular block marker in legend in bar plot
Better design practice is to label the bars directly rather than keeping the label information off the the side in a legend box ...

7 months ago | 0

Answered
How to define both integer and decimal increment in one for loop?
I'm not clear on what you're looking for. Do you want something like this: span1 = 0:0.1:1; span2 = 3:2:30; span = [span1 spa...

7 months ago | 0

Answered
Indexing all the row data for each column
For a 2D matrix, you can access a row as follows: % Matlab indexing is row major % return single row of matrix A A(1,:) A(2,...

7 months ago | 0

Question


Scattered Interpolation: Defining my own triangulation?
I'm interpolating data the comes from polar coordiate systems or terrain-following coordiante system used in numerical weather m...

1 year ago | 0 answers | 0

0

answers

Answered
how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?
To control the orientation of the image, read the documentation for 3-D camera control: https://www.mathworks.com/help/matlab/v...

1 year ago | 0

Answered
How to calculate mean value of a parameter within interval of other parameters
Assuming I've understood your description of your arrays correctly... i.e. that int_X and int_Y contain max and min values for t...

1 year ago | 0

Question


Exportgraphics and TiledLayout: Figure Handle vs TiledLayout handle?
In the documentation for exportgraphics, when saving a multi-panel plot make with TiledLayout, the TiledLayout handle is passed ...

1 year ago | 1 answer | 0

1

answer

Answered
How can I plot RHI from weather radar data ?
I suggest using PyART. But, for Matlab: If you have a cfradial type data file the data are stored in 2-D arrays (gates x rays ...

1 year ago | 0

Load more