
Добавил:
debilX2
t.me
Фулл всегда есть, ФОЭ ТОЭ ТЭЦ Электроника, КЭТ ИиКГ и тд https://t.me/whitedevil752
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:lr_08 / input_1
.m function [x] = input_1(N)
%UNTITLED2 Summary of this function goes here
% Detailed explanation goes here
x = zeros(1,N);
N2 = round(N/2);
for n = 1:N
if(n<(N2-1))
x_n = 1;
else
x_n = 0;
end
x(1,n) = x_n;
end
end
%UNTITLED2 Summary of this function goes here
% Detailed explanation goes here
x = zeros(1,N);
N2 = round(N/2);
for n = 1:N
if(n<(N2-1))
x_n = 1;
else
x_n = 0;
end
x(1,n) = x_n;
end
end