photo

Francesco Onorati


Politecnico of Milan

Last seen: 1 year ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

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

4 years ago | 0

Question


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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 0

Solved


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

6 years ago

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

8 years ago | 0

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

8 years ago | 0

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

8 years ago | 2