Borrar filtros
Borrar filtros

Recurrence Convolution I just seem to get the recurrence to work . Could some one help me out?

3 visualizaciones (últimos 30 días)
>> a = [-0.75 0.125];
b = [0 0.25];
n = 0:1:20;
x0 = 0;
y0 = [0 0];
x = [ones(1,21)];
y = recur(a,b,n,x,x0,y0);
stem (n,y);
title('Recurrence Convolution')
xlabel('n')
ylabel('y')
Unrecognized function or variable 'recur'.

Respuestas (1)

Riya
Riya el 15 de Sept. de 2023
Hello Michael Jaskulski ,
As per my understanding, you have encountered error: Unrecognized function or variable 'recur'.
Please note that, there is no in-built function ‘recur’ in MATLAB R2023a. Define the function in an m-file and call the function using your own inputs and store the output from ‘recur’ in the variable ‘result.
For more details about ‘recur’ function, you can refer the following document:
In case you further require a more specific solution tailored to your case, you can provide more information about it.
I hope it helps!

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by