USING MATLAB
In signal processing applications, the Hankel matrix is useful.
The elements of a (N × N) Hankel matrix are given by
h?? =0 ?+?−1>?
=?+?−1 otherwise
Write a script that takes as input from the user an integer, n.
Your code should accept input ≥1 and <10. The user should be
repeatedly prompted until acceptable input is entered. Next, create
n Hankel matrices for N=1,2,...,n. That is, if the user enters 4,
you’ll generate 1×1, 2×2, 3×3, and...