✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Signal je zadan Matlab funkcijom:
function y = x ( n )for i=1: length ( n ) y(i)=0; if n(i) == 3 y(i)= 4; end if n(i) == 5 y(i)=7; endend
Za zadani vremenski vektor n, koji signal će se nacrtati pozivom funkcije na način:
>> stem (n, x(-n + 3))