Statistica
6 Domande
0 Risposte
RANK
93.932
of 297.613
REPUTAZIONE
0
CONTRIBUTI
6 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
0
RANK
of 159.263
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Change size of input arguments without recompiling mex with codegen
I compiled a simple function with matlab coder. The function takes three input arguments: xvec is [nx,1], yvec is [ny,1] and zma...
circa 2 mesi fa | 2 risposte | 0
2
risposteDomanda
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...
3 mesi fa | 6 risposte | 0
6
risposteDomanda
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(...
6 mesi fa | 2 risposte | 0
2
risposteDomanda
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...
6 mesi fa | 1 risposta | 0
1
rispostaDomanda
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...
6 mesi fa | 2 risposte | 0
2
risposteDomanda
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...
7 mesi fa | 1 risposta | 0