Borrar filtros
Borrar filtros

digital signal processing linear sistem

1 visualización (últimos 30 días)
R.edi Prasetyo
R.edi Prasetyo el 3 de Nov. de 2022
Respondida: Ravi el 16 de Feb. de 2023
%menentukan sistem linear atau nonlinear
x = randi(1,200,[0,100]);
%hitung sinyal
x1 = [x 0 0]; %x1[n] = x[n+1]
x2 = [0 x 0]; %x1[n] = x[n]
x3 = [0 0 x]; %x1[n] = x[n-1]
y1 = x1 + 2*x2 - 3*x3;
y2 = 5*x1 + 2*(5*x2) - 3*(5*x3);
y3 = 5*y1;
%tentukan jumlah bilangan yang salah
jumlah_salah = symerr(y2,y3)
  2 comentarios
Image Analyst
Image Analyst el 3 de Nov. de 2022
I have no idea what to do with your post. If you have any questions, then ask them after you read this:
Meet
Meet el 8 de Feb. de 2023
Hi,
Based on your post, it is unclear what you are trying to achieve and what difficulties you are facing. Please provide a more detailed description of the issue in order to get help from the community.

Iniciar sesión para comentar.

Respuestas (1)

Ravi
Ravi el 16 de Feb. de 2023
Hello R.edi
If I understand you correctly you are trying to solve a system of linear equations., where x1,x2,x3 are three variables and y1,y2,y3 are three outputs of linear equations.
Below is the documentation link to solve a system of linear equations using linsolve. I hope this resolves your issue.
Regards

Categorías

Más información sobre Language Fundamentals en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by