Community Profile

photo

Francesco Onorati


Politecnico of Milan

Last seen: 12 mesi fa Attivo dal 2016

Followers: 0   Following: 0

Contatto

Statistiche

All
  • Revival Level 1
  • First Review
  • Solver
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
varfun question - How to create function handles and obtain function outputs
You can create a small function you can use in your function handle function i = index_max_handle(x) [~, i] = max(x); ...

quasi 4 anni fa | 0

Domanda


When loading .mat files in a parfor, the first time is way slower than the second time.
Hi all, I've encountered a weird behavior I wasn't able to understand or find a possible explanation of. I wrote a function fo...

oltre 4 anni fa | 1 risposta | 0

1

risposta

Risposto
All possible combinations of 0's and 1's
Let's assume you need a vector of l_word = 4 elements, each of them can be a 0 or a 1. l_word = 4; n_letters = 2; s = repmat(...

quasi 5 anni fa | 0

Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

oltre 5 anni fa

Risposto
How to create an empty array of structs?
array(n)=struct(field1, [], field2, [], ..., fieldN, []); % <-- as CreateAStruct struct for i:n array(i)=CreateAStru...

oltre 7 anni fa | 0

Risposto
GUI - alpha numerical ordering problem with dir() help
It is not in a random order, it is AN order (actually, the order you asked, i.e. alphanumerical order) *smthng_Image1* *smthng_...

quasi 8 anni fa | 0

Risposto
QR Factorization Using Householder Transformations
The reason why there are differencies in the sign is that for numerical stability the 2-norm of each vector is taken with the op...

quasi 8 anni fa | 2