フィルターのクリア

Code for a sequence of numbers

1 回表示 (過去 30 日間)
Bleron Kroni
Bleron Kroni 2020 年 4 月 1 日
I want to write a code for a sequence of number.
The sequence is like this:
y = x*u so i find u if i make the divison between u=y/x.
The next sequence :
y(1) = x(0)*u(1) + x(1)*u(0) and i want to find u(1) = (y(1) - x(1)*u(0))) / x(0)
The next one
u(2) = (y(2)-u(1)*x(1)-u(0)*x(2)) / x(0)
The inputs are y and u
Y = input('Enter y: '); %input vector Y and U
U = input('Enter u: ') ;
LenY = length(Y); %defining their lenghts
LenU = length(U);
x = zeros(1,LenY-LenH+1); %defing vector y of zeroes and of size
% lenth of Y - length of U
t = zeros(1,LenU); % definign a vector t of same length as U
...
Thats not the convolution or deconvolution, this 2 codes uses the long polynomial multipilikation and division

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by