Community Profile

# Divij Gupta

Last seen: 5 months ago Active since 2021

#### Content Feed

View by

Question

Integration of a piecewise multivariable function
I have a function I need to integrate. The function is a product of 2 functions, one a function in x and the the other a piecewi...

6 months ago | 0 answers | 0

### 0

Question

Fit data to array values
I have a certain array of theoretical values which forms the y values of a graph. This graph is not analytic, so the theoretical...

6 months ago | 1 answer | 0

### 1

Question

Signal smoothing for logarithmic timescale
I want to perform signal smoothing for the graph shown above. However, using the method shown in MATLAB documentation is not w...

6 months ago | 1 answer | 0

### 1

Question

Retrieve cell of matrices from text file
I have a cell X such that X{i} is a 10x10 matrix. There are about 500 of these matrices. I am using writecell(X,"textfile") to w...

7 months ago | 1 answer | 0

### 1

Question

How to save data when execution is paused
I have a code runs a loop a million times. In each iteration, a new row of data is filled into a matrix. I want to find a way su...

7 months ago | 1 answer | 0

### 1

Question

Prod giving a different answer than repeated multiplication
X(:,:,1) = [0.0000 + 0.0000i 0.0000 + 0.0000i 1.0000 + 0.0000i 0.0000 + 0.0000i;0.0000 + 0.0000i 0.0000 + 0.0000i 0.00...

7 months ago | 1 answer | 0

### 1

Question

Vectorise matrix element multiplication
I want to find a way to vectorise the following operation: Take q random elements from the cell Z (which is populated by matric...

7 months ago | 1 answer | 0

### 1

Question

Vectorise a matrix multiplication chain
I want to find a non-loop way to do the following: for c = 1:q h = h*Z{c}; end Basically, how can I vectorise Z{1}*Z{2}...

7 months ago | 1 answer | 0

### 1

Question

Computing 4th cumulant of Gaussian variable
I am trying to write a program to compute the 4th cumulant for a given array of numbers. For a test, I'm generating an array of ...

7 months ago | 1 answer | 0