Community Profile

# Francesco Onorati

### Politecnico of Milan

7 2016 年以降の合計貢献数

#### Francesco Onorati's バッジ

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

11ヶ月 前 | 0

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

1年以上 前 | 1 件の回答 | 0

### 1

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

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

2年以上 前

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

4年以上 前 | 0

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

5年弱 前 | 0

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

5年弱 前 | 2