photo

Fredrik P


Stockholm University

Last seen: 대략 1년 전 2015년부터 활동

Followers: 0   Following: 0

메시지

통계

MATLAB Answers

14 질문
2 답변

순위
6,546
of 300,786

평판
7

참여
14 질문
2 답변

답변 채택
71.43%

획득한 표
4

순위
 of 21,091

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,061

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 3
  • First Answer
  • Revival Level 1

배지 보기

Feeds

보기 기준

질문


Strange core usage when running Slurm jobs
I'm trying to run jobs on an HPC cluster using Slurm, but I run into problems both when I'm running interactive jobs and when I'...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


How many workers for fmincon with UseParallel?
I'm solving a biggish problem where the function takes a while to compute and want to throw as many workers as possible on the p...

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


From what MATLAB version can max() return linear indices?
max() can return linear indices, but when was this capability introduced? I can't seem to find it in the version history.

거의 2년 전 | 답변 수: 1 | 0

1

답변

질문


How could this code be vectorized?
How can I vectorize this code? I suspect that it can be solve using ndgrid and sub2ind as my last question was. But I just don't...

거의 2년 전 | 답변 수: 2 | 0

2

답변

질문


How can I speed up this function? #vectorize
I'm struggling to speed up the code inside the version1 function. The only way to vectorize it that I can seem to figure out is ...

거의 2년 전 | 답변 수: 2 | 0

2

답변

질문


Compute conditional mean from distribution
How do I compute a conditional mean of a distribution in Matlab (e.g. between the 1st and 5th percentiles)? Right now, I am thin...

대략 2년 전 | 답변 수: 3 | 0

3

답변

답변 있음
How to fit a curve with negative powers of x
For the benefit of posterity: x = 1:20; y = 5 - x.^(-1); p = polyfit(1 ./ x, y, 1); yhat = polyval(p, 1 ./ (1:30)); fig...

대략 3년 전 | 3

질문


Create large array of zeros without MATLAB:array:SizeLimitExceeded (perhaps on disc)
I want to create a rather large array of zeros, but run into a `MATLAB:array:SizeLimitExceeded` error as the generated array is ...

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

1

답변

질문


Locate index and weights for linear interpolation for a monotonically increasing vector
I have a performance critical function that amounts to finding all that is needed to interpolate a point (or a vector of points)...

거의 4년 전 | 답변 수: 1 | 0

1

답변

질문


Matlab crashes when using py.matplotlib.pyplot.plot()
I want to use Python's matplotlib in Matlab but I can't make even this simple example close; clear; clc; x = py.numpy.arange(2...

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

1

답변

질문


Vertical alignment of OpenType font
I have tried to use the font Fira Sans in my figures but fail to use its OpenType version in Matlab R2019a on Windows 10. My MWE...

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

1

답변

질문


List of built-in functions?
Is there somewhere a list of Matlab’s built-in functions like |histc| that are not written in Matlab own scripting language? Tha...

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

2

답변

질문


Faster finding of 1D linear interpolation nodes and weights for each element in ND matrix
In a problem I'm working on now, I compute some values in a matrix x and I then for each element in x need to find the index of ...

거의 6년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Sorting 2D matrix and retaining nodes in triangle groups
See answer on Stack Overflow.

거의 6년 전 | 0

| 수락됨

질문


Sorting 2D matrix and retaining nodes in triangle groups
I am trying to optimize a script (below) that finds the bounding boxes to functional values of all lower left triangles in a 2D ...

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

1

답변

질문


"Reshaping" matrix
I have a matrix P_ind that is AxB (where each element is an integer in the range 1:C) and a matrix xgrid that is CxDxB. Is there...

대략 10년 전 | 답변 수: 3 | 0

3

답변