Statistics
5 Questions
0 Answers
RANK
240,268
of 295,940
REPUTATION
0
CONTRIBUTIONS
5 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20,307
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,945
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Vectorized code slower than loops
I am trying to speed up the code reported below (it is a MWE, actual code is more complicated). I vectorized the inner loop (see...
8 days ago | 6 answers | 0
6
answersQuestion
Convert cell array of structures to numeric vector
Suppose I have ale{1}.a = 0; ale{2}.a = 1; ale{3}.a = 1.5 ale_vec = NaN(length(ale),1); for ii=1:length(ale) ale_vec(...
2 months ago | 2 answers | 0
2
answersQuestion
How to speed up vectorized operations for dynamic programming
I would like to speed up the following code which solves a discrete dynamic programming problem using the method of successive a...
3 months ago | 1 answer | 0
1
answerQuestion
Colon operands must be real scalars
I tested the following code: x = rand(1,3); x([1,2]:[1,2]) In R2024a it gives a warning but it is ok in R2023b! Some existi...
3 months ago | 2 answers | 0
2
answersQuestion
Poor performance of linprog in practice
I have to solve a dynamic programming problem using a linear programming approach. For details, please see this paper. The LP th...
3 months ago | 1 answer | 0