Community Profile

photo

Matthew Kehoe


Last seen: 27 Tage vor Aktiv seit 2020

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Performance of repeating calling a function in a double for loop
Background: My program uses a double for loop to compute several corrections to a joint Taylor summation in order to numerically...

2 Monate vor | 0 Antworten | 0

0

Antworten

Frage


How can I populate the rows of a difference matrix without using a for loop?
I am creating Matlab code to construct the following matrix: In my data, and are 101-dimensional real vectors and is a vec...

6 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Using arrayfun to enhance the performance of code in a double for loop
I am writing a program to numerically approximate the solution of a two point boundary value problem. The code below goes throug...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to avoid writing a for loop in A\b when A and b are different dimensions
I am currently solving where is a 3d complex array of dimension and is a 2d real array of dimension . In order to do this, I...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to implement polyval in more than one dimension when the summation includes complex coefficients
My problem involves the following double summation where are complex coefficients, and are positive constants. I think that...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort