federico nutarelli
Followers: 0 Following: 0
Statistiques
RANG
75 866
of 295 448
RÉPUTATION
0
CONTRIBUTIONS
29 Questions
1 Réponse
ACCEPTATION DE VOS RÉPONSES
44.83%
VOTES REÇUS
0
RANG
of 20 227
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 872
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
Fast alternative to assign 0 to NaNs
Hi all, is there a astest way to assign to zeros the value NaN? From the Profiler I am noticing that this operation is taking...
presque 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
pre-allocation in loop
Hi all, MATLAB is suggesting me to pre-allocate MATRICI_SIMULATE_nonan and colonna_i in the following loop: A_nan = A~=0; ...
presque 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Avoiding broadcast variables in parfor
Hi all, the following loop results in an error in C_mat and B_mat: %previously defined N_RIPETIZIONI=2; K=201; parfor n=1:...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Correctly indexing a parfor loop
Hi all, I converted a nested for loo into a unique parfor loop. The nested for loop looked like this: for RIPETIZIONE = 1:N_...
presque 2 ans il y a | 1 réponse | 0
0
réponseQuestion
Speeding up matrix operations
Hi all, say A and B are big matrices and u,s,v are the svd decomposition of another big matrix. Now, is there a way to speed ...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Vectorize a nested loop
Hi all, is there a way to vectorize the following loop? for RIPETIZIONE = 1:10 %for k = 1:size(lambda_tol_vector.Valu...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Parfor getting slower than a normal for loop
Hi all, I am trying to parallelize the execution of a funtion in matlab. Specifically, I am performing the following code: ...
environ 2 ans il y a | 1 réponse | 0
0
réponseQuestion
Parfor seems slower than for loop
Hi all, I am trying to parallelize an operation in MATLAB. The MWE goes like this: clear A=rand(5000,3000); B=int8(rand(...
environ 2 ans il y a | 1 réponse | 0
0
réponseQuestion
Executing macOS command lines on Matlab
Hi all, I am trying to adapt the following code by Weirong Chen to MacOs. function RunRcodemac(RscriptFileName,Rpath) % Thi...
environ 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Sum selected columns of a matrix
Hi all, I have a matrix that looks as follow: 0.0486947932834768 0.590504451038576 0 0.0579865082127525 0.0490083905415712 0....
environ 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
Reshape a matrix based on indices placed on another matrix
Hi all, I have a matrix called combinations and a vector whose dimension in 119x119. The matrix combinations basically include...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Take values greater than 0 excluding NaN
Hi all, I have a matrix A, say, like this: NaN NaN 1 NaN -2 -3 NaN NaN NaN 2 NaN -3 NaN -3 -3 1 -1 2 and would like to ma...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Counting the number of appearance of a value in a loop
Hi everyone, I have the following matrix called all_indices_pesi in matlab: consisting of the first column being a column...
plus de 2 ans il y a | 1 réponse | 0
1
réponseQuestion
Spearman correlation fails in ranking strings
Hi all, I would like to compute the correlation between two rankings. Namely, I have two ranked variables, say: table GDP l...
presque 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Plot a curve on vertical axis
Hi all, I am producin the following image (the red arrows and the red circles are added artificially using a picture software...
environ 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Set colors for specific entries of heat map
Hi all, I have constructed an heatmap based on a diagonal 50x50 matrix (that I attached to the csv file below). My code looks ...
environ 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Surface plot using surf() and mesh grid
Hi all, I have two vectors and a matrix that I would like to plot in 3D (as surfaces). I have seen that there is a command call...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Inverting curves colors when the distance of their points is 0
Hi all, I have a set of colored curves as follows: let's take, for the sake of simplicity the top two curves in green and p...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Saving High Quality graphs within loop
Hii all, I am using a package called borders in matlab to make colored maps. The problem is that the countries have to be col...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Smart for loop for summing cell array matrices
Hi all, I have an empty cell test_set_class and a cell matrix class_test made of 100x30 matrices (i.e. each element of classs_...
plus de 3 ans il y a | 2 réponses | 0
2
réponsesQuestion
Smartly search between tables
Hi all, so I have two datasets made of 0 and 1. The two datasets (in the form of matlab tables), call them D1 and D2 are 1229x1...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Reverting the caxis index
Hi all, I have made the following image (displayed). I would like the caxi to be inverted, i.e. min = 0.4 and max = 0.1. So th...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Output argument "K" (and maybe others) not assigned during call to "linear_kernel".
Hi all, the above error apears when I call K = linear_kernel(tX, tX); It does not appear if I do not assign linear_ker...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
reshaping data properly mesh grid
Hi all, so I have the follwoing problem. I have data stored in a (2000,4) mattrix where the last colum represents the predict...
plus de 3 ans il y a | 1 réponse | 0
1
réponseCheck for missing argument or incorrect argument data type in call to function 'smooth'.
Hi all thank you for answering the question above. I basically forgot to install the curve fitting package. So I get back to the...
plus de 3 ans il y a | 0
Question
Check for missing argument or incorrect argument data type in call to function 'smooth'.
Hi all, the above error emerges also when I try the ssimple toy example in the help of ssmooth function. I am on Mac OSX Cata...
plus de 3 ans il y a | 2 réponses | 0
2
réponsesQuestion
Reproducing a smooth curve with random data
Hi guys, I would like to reproduce the above figure with random data. How can I do it? We lost the source code to reprodu...
plus de 3 ans il y a | 1 réponse | 0
0
réponseQuestion
Advanced mean in cell arrays
Hi aall, this is a similar question to one I assked before. But it actualy diffes for a key detail so II opened a new issue. s...
plus de 3 ans il y a | 1 réponse | 0
0
réponseQuestion
How to sum different cells of cell array
Hi all, I have the following problem. I have a cell array (2x100) where each entry is a 11x74 table. What I would llike to d...
plus de 3 ans il y a | 2 réponses | 0
2
réponsesQuestion
Parfor nested loop Table definition
Hi all, I am fairly new to matlab. I am trying to parallelize a very heeavy nested for loop. I cannot reproduce it all here s...
presque 4 ans il y a | 1 réponse | 0