Community Profile # Matthew Kehoe

Last seen: 7 Monate ago Active since 2020

#### Statistics

• #### Content Feed

View by

Question

Change the hot colormap so that the default value of 1 is white
Inside my Matlab code I am using the hot colormap in order to produce plots of the calculated reflectivity. Example 1: Subset o...

etwa ein Jahr ago | 2 answers | 0

### 2

Question

Applying vectorization techniques to speedup the performance of dividing a 3D matrix by a 2D matrix
I'm working on removing a for loop in my Matlab code to improve performance. My original code has one for loop (from j=1:Nx) tha...

etwa ein Jahr ago | 3 answers | 0

### 3

Question

Efficient way to multiply a vector of size (Nx,1) with a matrix of size (Nx+1,Nx+1)
My code repeatedly computes a vector of size (Nx,1) by a matrix of size (Nx+1,Nx+1): clc; clear all; Nx = 32; a = 1.5; b = 2...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

Improving the performance of matrix multiplication and division with nested for loops
My Matlab code has a section of code which repeatedly performs matrix multiplication and division (through the backslash operato...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

How to store and reuse coefficients in a for loop
My Matlab code has a subroutine that repeatedly executes a double for loop. While testing large simulations, this subroutine is ...

etwa ein Jahr ago | 2 answers | 0

### 2

Question

Improve the speed of nested for loops through vectorization or similar methods
My Matlab code has a function that is called 10^3 - 10^7 times. I'm curious if I can improve the speed of the function through v...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

Improving the speed of a double for loop through vectorization or changing summation indices
I'm writing a double for loop that computes a Pade summation subject to specific coefficients and parameters. I'm curious if the...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

Suggestions for vectorizing double/triple for loops in Matlab
My Matlab code has multiple double/triple for loops which I believe cause a bottleneck when the index summation variables reach ...

etwa ein Jahr ago | 1 answer | 0