Community Profile # millercommamatt

### North Carolina State University

Active since 2013

Atmospheric Research Scientist

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

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

4 days ago | 0

Load .slk file format (excel can open it, but can't import it to matlab)

5 days ago | 0

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

5 days ago | 0

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

5 days ago | 1

| accepted

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

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

7 days ago | 1 answer | 0

### 1

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

20 days ago | 0 answers | 0

### 0

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

1 month ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 1

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

4 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

| accepted

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

4 months ago | 0

| accepted

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

4 months ago | 1

| accepted

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

4 months ago | 0

| accepted

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

4 months ago | 0

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

4 months ago | 0

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

4 months ago | 0

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

4 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

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

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

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

How to vary the pixel size in matlab imagesc() plot?
What I understand your issue to be is that you have non-uniform spacing of you data points along the x-axis of your data and you...

1 year ago | 0

how can i show my hyperspectral data in a two dimensional projection of hyperspectral cube?
If your data is something like (x,y,spectra), you could try: imagesc(your_data(:,:,1)); If your data is like (spectra, x, y) ...

1 year ago | 0

| accepted

Question

exportgraphics: need error explained
I'm trying to export of multi-panel plot that contains 4 imagesc plots and two surf plots with the new exportgraphics command wi...

1 year ago | 0 answers | 0