# Gina Carts

**Statistics**

**MATLAB Answers**

**27** Questions

**0** Answers

RANK**225,666**

of 264,968

REPUTATION**0**

CONTRIBUTIONS

**27** Questions

**0** Answers

ANSWER ACCEPTANCE **
29.63%
**

VOTES RECEIVED**0**

RANK

of 18,103

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 115,985

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Present Classification results in Confusion matrix

Hi, I have 9 patients with tumor lesions. 4 radiologists classified the lesions (manually) in 3 Stages for each patient. I wan...

2 years ago | 0 answers | 0

### 0

answersQuestion

How to calculate the mean excluding zero voxels

Hi, I have a mask with different regions marked with values 1,2,3 and 4. The background is zero. My data have some NaNs so I...

2 years ago | 1 answer | 0

### 1

answerQuestion

Calculate the mean of region with nonzero pixels

I have a mask with regions labeled with 1, 2 and 3. I have a 3D volume that I would like to calculate the mean of the pixels cor...

2 years ago | 1 answer | 0

### 1

answerQuestion

How can I count the number of voxels in a region

Hi, I have a 3D mask with 0 background (NIfTI format). The mask has some regions marked with number 1,other egions with number ...

2 years ago | 1 answer | 0

### 1

answerQuestion

How can I count the number of times a value occurs

Hi there, I have a 3D array (mask) with the numbers 0 background, 1, 2, 3 and 4. The numbers 1,2,3 and 4 correspond to partic...

2 years ago | 1 answer | 0

### 1

answerQuestion

Calculate the mean of nonzero pixels and set a threshold

I previously asked how to calculate the mean of nonzero pixels using my binary mask. The way I did that was m = mean(volume(ma...

3 years ago | 1 answer | 0

### 1

answerQuestion

Calculate the mean of nonzero pixels

I have a 3D volume and a 3D binary mask. I want to calculate the mean of the pixels which correspond to the regions where the ma...

3 years ago | 2 answers | 0

### 2

answersQuestion

Calculate the mean of 4D image using a 3D mask

Hi there, I have 4D data with dimensions [308,384,26,31]=[x,y,z,time]. I also have a binary 3D mask with dimensions [308, 384,...

3 years ago | 0 answers | 0

### 0

answersQuestion

Masking data of 4D images

Hi there, I have a 3D binary mask and I would like to mask my 4D data. So basically I would like to keep the information of my...

3 years ago | 1 answer | 0

### 1

answerQuestion

Cannot load .nii.gz files with MATLAB 2017b

Hi there, I have a problem loading Nifti gz files (.nii.gz) with MATLAB 2017b. I am loading my .nii.gz using the below: loa...

3 years ago | 0 answers | 0

### 0

answersQuestion

Question about imgaussfilt3

I used the imgaussfilt3 to smooth my 3D images. When you set sigma=1.0 which is the standard deviation of the Gaussian smoothin...

3 years ago | 1 answer | 0

### 1

answerQuestion

3D Gaussian filterning affects resolution of the images?

I have used the imgaussfilt3 function to smooth my 3G images. I used the default settings where the 3D Gaussian kernel has stand...

3 years ago | 0 answers | 0

### 0

answersQuestion

Gaussian smoothing filtering of 4D data

Hi, I have 4D MRI data (Magnetic Resonace Imaging). Where dimensions are: x-, y-, z- dimension and time. I would like to sm...

3 years ago | 2 answers | 0

### 2

answersQuestion

Display data points in boxplots

I am using the boxplot function to create boxplots of my data. But I would also like to plot my data on top of the boxplots. Ca...

3 years ago | 1 answer | 0

### 1

answerQuestion

Plot histograms of two samples as plots

I would like to plot the histograms of two samples as a line plot. I've been using the histograms functions but this is not wh...

3 years ago | 1 answer | 0

### 1

answerQuestion

Load NifTI zip files in Matlab R2017b

I'm trying to load NifTI zip files in Matab R2017b with the function load_untouch_nii but I keep getting the following error: ...

3 years ago | 0 answers | 0

### 0

answersQuestion

How is the residual in lsqnonlin calculated?

Does anyone know how's the residual being calcualted in lsqnonlin function? I am interested to know the formula. Is it : res ...

3 years ago | 0 answers | 0

### 0

answersQuestion

Identify the nonzero pixels

I have a stack of 3D volumes, i.e. 4D with dimensions [156, 192, 26, 41]. I have also a 3D binary mask with dimensions [152, 19...

3 years ago | 2 answers | 0

### 2

answersQuestion

How to set a threshold in data

I have a 3D images stored in a matrix A. Some pixels are outliers and I want to put a threshold. When the value at particular...

3 years ago | 1 answer | 0

### 1

answerQuestion

Covariance matrix not always positive define

I have used the cov Matlab function to calculate the covariance matrix. I calculate the covariance matrix inside a loop and t...

3 years ago | 0 answers | 0

### 0

answersQuestion

Polyfit function - NaN

I have the age and blood measurement of some data. For some people the age is missing and I marked them as NaNs. When I used t...

3 years ago | 1 answer | 0

### 1

answerQuestion

How to loop over a series of files

I have 10 datasets named data1, data2,data3,...,data10 with dimensions [150,120, 25, 5]. I want to create a big matrix and put a...

3 years ago | 1 answer | 0

### 1

answerQuestion

Improving the fitting of data

I have a small group of people (n=15). For each person I have the age and a blood measurement. The relationship between the age ...

3 years ago | 2 answers | 0

### 2

answersQuestion

Covert a Binary Image

Hi, I have a 4D binary image filled with 0 and 4. Voxels with 0 appear black and voxels with 4 appear white. How can I make ...

3 years ago | 0 answers | 0

### 0

answersQuestion

Access different elements of matrix

I have a 4D matrix with dimensions A = [100,100,25, 9]. I want to create another matrix including only the 2,3,4,5 and 7th elem...

3 years ago | 1 answer | 0

### 1

answerQuestion

Can you use Batched partitioned nonlinear least squares to fit 5 parameters?

Hi, I've seen people using the batched partitioned nonlinear least squares to solve nonlinear problems of two unknown parame...

4 years ago | 1 answer | 0

### 1

answerQuestion

lsqnonlin - how to return the best fit

I am fitting a function nonlinearly using the lsqnonlin function. I have used the [x, res] to return the parameters (i.e. x) a...

4 years ago | 1 answer | 0