Community Profile

photo

Mar


Last seen: 4 years ago Active since 2013

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Content Feed

View by

Question


lsqcurvefit help - Field assignment to a non-structure array object
Hi, I am getting the error "Field assignment to a non-structure array object" in the line I call the lsqcurvefit function and ...

5 years ago | 1 answer | 0

1

answer

Question


Non-singleton dimensions of the two input arrays must match each other using bsxfun
Hi, I have 4D data with dimensions mydata=[ 156 , 192 , 26 , 41]. I have also an array of values which I import in Matlab as ....

5 years ago | 1 answer | 0

1

answer

Question


Download Matlab 2017b for windows 10
Hi, I've tried to download Matlab 2017b but for some reason has been downloaded as dvd (please see the figure). Inside this dvd...

5 years ago | 1 answer | 0

1

answer

Question


How to reverse a vector
Hi, I imported some values as a txt file. I stored the values store in the vector called A, i.e. A = importdata('/Users/file.t...

5 years ago | 1 answer | 0

1

answer

Question


Index exceeds matrix dimensions.
Hi, I have 4D data in a Nifti file format. My code looks like this: vals = importdata('/Users/values.txt') data = load...

5 years ago | 1 answer | 0

1

answer

Question


4D matrix in .txt and .csv
I have 4D data which are 3D images + time. Data = [256,256,22,99]. I would like to save it in text file and .csv. How can I do t...

5 years ago | 1 answer | 0

1

answer

Question


Resize specific dimensions of images
Hi, I have 4D images with dimensions Data=[256,256, 36, 99]. I would like to downscale only the x- and y-dimension of this dat...

5 years ago | 1 answer | 0

1

answer

Question


Copy DICOM header and use it to different DICOM images
Hi, I have a stack of 2D DICOM images. I want to replace the DICOM header of these DICOM images (without affecting pixel inten...

5 years ago | 0 answers | 0

0

answers

Question


How to convert a nifti file to a .dat file?
Hi, I have a 4D nifti file with dimensions [256, 256, 36, 99]. I want to convert this nifti file to a .dat file. I did the fol...

5 years ago | 0 answers | 0

0

answers

Question


Read header from nifti files
Does anyone know how to read the heard of a nifti file? I load my data using data=load_untouch_nii(). When I typed data.hdr I...

5 years ago | 0 answers | 0

0

answers

Question


Calculate residuals as a single number in lsqnonlin function
I solve a nonlinear curve fitting problem using the *lsqnonlin* Matlab function. I am interested to check the residual of my...

5 years ago | 2 answers | 0

2

answers

Question


Question about imadjust3 function
I have 3D data. The data type is double but the values are not ranging between 0 and 1. I would like to use the imadjust3 functi...

5 years ago | 0 answers | 0

0

answers

Question


Unable to read data with .clv extension
Hi, I am trying to import multiple csv files into Matlab (.csv extension) but I am keep getting an empty structure. Follo...

5 years ago | 1 answer | 0

1

answer

Question


import multiple csv files in matlab
I am trying to import several csv files and compact all of them in a single variable called "data". The csv files are 2D ima...

5 years ago | 1 answer | 0

1

answer

Question


Load .dat file in Matlab
I have a stack of 2D images i.e. 3D data in a .dat file. Does anyone know how to load a .dat file in Matlab?

5 years ago | 1 answer | 0

1

answer

Question


3D images as a gif
I wanted to display a stuck of 3D images as a video. I have used the function *save_3D_matrix_as_gif*: <https://uk.mathwo...

6 years ago | 1 answer | 0

1

answer

Question


Calculate the mean of two dimensions in a 3D array
I have a 3D array and I want to calculate the mean of the first two dimensions along the 3rd dimension but I am getting the foll...

6 years ago | 2 answers | 0

2

answers

Question


svd function - Singular Value Decomposition
Hi, I want to solve the following system of equations using SVD: S = AX, where S is a 40x1 matrix (rows x columns), A ...

6 years ago | 1 answer | 0

1

answer

Question


Non linear least square function lsqnonlin
I was wondering if there is a way to stop the lsqnonlin function before converge to the optimal solution.

6 years ago | 1 answer | 0

1

answer

Question


Question about Parfor-loop
I do nonlinear fitting within a nested for loop as shown below: for i=1:200 for j=1:170 for k=1:50 ...

6 years ago | 0 answers | 0

0

answers

Question


Looking for the code of registration.optimizer.RegularStepGradientDescent
Hi Does anyone knows if we are able to have a look on registration.optimizer.RegularStepGradientDescent? I am interested ...

10 years ago | 0 answers | 0

0

answers

Question


Numerical integration of continuous data set
Hi all I'm trying to integrate a noisy signal composed of continuous data points, and I was wondering if there's any other wa...

10 years ago | 0 answers | 0

0

answers