code relates to matrices
Mostra commenti meno recenti
hello everybody, help me, please
Risposta accettata
Più risposte (1)
Jan
il 2 Giu 2017
The question sound like a homework. Beside the suggested hankel function, there is a simple solution using elementary arithmetics only. It is such basic, that any hint is a solution already and it might look like cheating, if you submit it - assumed that it is really a homework. So think twice: Is asking without showing any own effort a good idea?
See:
(1:3) + (1:3).' % Requires Matlab >= 2016b
% Older versions:
% bsxfun(@plus, 1:3, (1:3).')
Now draw some conclusions.
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!