Community Profile

# Dominik Rhiem

Last seen: 3 months ago Active since 2021

Followers: 0   Following: 0

#### Feeds

View by

Question

Efficiently calculating the pixels crossed by a ray bundle
I have created a script that calculates which pixels on a regular square grid are crossed by which ray(s) of a bundle. Up to the...

6 months ago | 2 answers | 1

### 2

Question

I want to load a 8 GB binary data file into Matlab. My computer has 24 GB of RAM. It runs out of memory, despite me closing lite...

6 months ago | 1 answer | 0

### 1

Question

Optimizing distance calculation between vectors and pixels
I have written a Ray Tracer which I am currently trying to optimise, as there are 1-2 functions that take up around 90% of runti...

7 months ago | 2 answers | 0

### 2

Question

Identifying regions in matrix rows
I have an M x N matrix that contains the indices of columns where an external "validity criterion" is fulfilled, and -1 otherwis...

7 months ago | 5 answers | 0

### 5

Question

How to quickly group numerical data without giving bin sizes
I am trying to find an efficient and quick way to group numerical data. In short, I have several paths towards a particular pixe...

8 months ago | 1 answer | 0

### 1

Question

How can I record data from a parfor loop into an array?
I have a parfor loop in which I perform some calculations which I would ideally like to store in an array. Some code: array = z...

10 months ago | 1 answer | 0

### 1

Writing data from parallel processing to cells and merging
I replaced the for loop over the transmitter position (i.e. index j) with a parfor loop instead of trying to insert it as descri...

1 year ago | 0

| accepted

Question

Writing data from parallel processing to cells and merging
I have written a ray-tracing code that tracks intersections of rays with the edges of objects, including Snell's law (i.e. ray d...

1 year ago | 1 answer | 0

### 1

Question

Matrix column selection based on vector with indices
Hi all. I have a matrix of size m x n, with all entries as one at initialization. I also have a vector of size 1 x m. Each eleme...

1 year ago | 2 answers | 0

### 2

Question

Comparing two numerical arrays
I have two arrays of integer numbers. The first array can be thousands of entries long and contains numbers within a certain ran...

1 year ago | 1 answer | 0

### 1

Question

"find" yields different results for linear vs 2D indexing
Hi all. I have 2 2D matrices, and I want to find entries in 1 of these matrices that fulfill certain numerical criteria and put ...

1 year ago | 2 answers | 0

### 2

Question

Determining relative angular orientation of vectors
I am trying to implement Snell's law, but I am currently lacking an elegant way to take into account the angular orientation/dir...

2 years ago | 2 answers | 0

### 2

Question

Assigning array values to cell array based on condition
I have two equally-sized vectors of indices like the following: A = [1, 1, 1, 2, 2, 3, 3, 3, 3]; B = [6, 3, 7, 4, 7, 13, 16, 4...

2 years ago | 1 answer | 0

### 1

Question

Definition of the projection lines of the radon transform
I am currently trying to figure out how exactly the lines/rays that the radon transform uses to project a matrix are defined/loc...

2 years ago | 1 answer | 0