photo

Alessandro


Last seen: Today 2024년부터 활동

Followers: 0   Following: 1

통계

MATLAB Answers

14 질문
1 답변

순위
293,666
of 300,813

평판
0

참여
14 질문
1 답변

답변 채택
92.86%

획득한 표
1

순위
 of 21,086

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,169

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • First Answer
  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Implicit expansion with arrayfun (cpu vs gpu)
I find very convenient that Matlab allows for implicit expansion since the 2016 version (for an explanation, see this nice artic...

3일 전 | 답변 수: 4 | 1

4

답변

질문


Linear interpolation with interp1 is slow: How to improve run times?
I wrote a MWE to compare the perforance of interp1 (MATLAB built-in) with my custom interp1_scal (for linear interpolation), usi...

10일 전 | 답변 수: 1 | 0

1

답변

질문


Error with gpu codegen
I ran this code on my computer clear,clc,close all Params.r = 0.0476; % 0.0476; Params.w = 0.172; vfoptions = s...

4개월 전 | 답변 수: 1 | 0

1

답변

질문


Parpool thread-based pool size
I have a computer with 14 physical cores: 12th Gen Intel(R) Core(TM) i7-12800H, 2400 Mhz, 14 Core(s), 20 Logical Processor(s)). ...

4개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
GPU Parallelization: Kernel for Value Function Iteration
You can try using the VFI toolkit, which uses gpu parallelization in Matlab. https://github.com/vfitoolkit

5개월 전 | 0

질문


GPU Coder codegen slow performance
I am running the code shown below with MEX CUDA. Following Chao Luo's suggestion, I prepared a MWE, so that anyone who is intere...

5개월 전 | 답변 수: 1 | 0

1

답변

질문


parfor number of cores
I am using a machine with an intel processor with 14 physical cores (among those, 6 performance cores). If I run this code I get...

5개월 전 | 답변 수: 1 | 0

1

답변

질문


Using RTX 5090 for GPU computing in forward compatibility
Dear users, I have read a couple of very useful posts https://www.mathworks.com/matlabcentral/answers/2173867-can-i-use-my-nv...

5개월 전 | 답변 수: 2 | 0

2

답변

질문


Nvidia GPU GeForce 5060-5090
Are the Nvidia GeForce RTX 5060, 5070, 5080 and 5090 compatibile with Matlab R2025a? Matlab website (see https://www.mathworks....

6개월 전 | 답변 수: 3 | 0

3

답변

질문


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

12개월 전 | 답변 수: 2 | 0

2

답변

질문


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

대략 1년 전 | 답변 수: 6 | 0

6

답변

질문


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

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

1년 초과 전 | 답변 수: 1 | 0

1

답변

질문


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

1년 초과 전 | 답변 수: 2 | 0

2

답변

질문


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

1년 초과 전 | 답변 수: 1 | 0

1

답변