Fredrik P
Stockholm University
Followers: 0 Following: 0
Statistiques
RANG
6 293
of 295 527
RÉPUTATION
7
CONTRIBUTIONS
14 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
71.43%
VOTES REÇUS
4
RANG
of 20 242
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 057
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
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'...
8 mois il y a | 1 réponse | 0
1
réponseQuestion
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...
9 mois il y a | 1 réponse | 0
1
réponseQuestion
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.
10 mois il y a | 1 réponse | 0
1
réponseQuestion
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...
10 mois il y a | 2 réponses | 0
2
réponsesQuestion
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 ...
11 mois il y a | 2 réponses | 0
2
réponsesQuestion
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...
environ un an il y a | 3 réponses | 0
3
réponsesHow 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...
environ 2 ans il y a | 3
Question
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 ...
environ 2 ans il y a | 1 réponse | 0
1
réponseQuestion
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)...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
plus de 4 ans il y a | 2 réponses | 1
2
réponsesQuestion
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 ...
plus de 4 ans il y a | 1 réponse | 0
0
réponseSorting 2D matrix and retaining nodes in triangle groups
See answer on Stack Overflow.
plus de 4 ans il y a | 0
| A accepté
Question
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 ...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
"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...
environ 9 ans il y a | 3 réponses | 0