Borrar filtros
Borrar filtros

how to convert discrete data to continuous data?

4 visualizaciones (últimos 30 días)
Aniket
Aniket el 15 de Mzo. de 2013
Hello I have discrete A,B,C,D system matrices, and i want to convert them in continuous , i have written a script for this but it is giving me error . how should i do this ?
********
load ABCD_matrix.mat
sysd=ss(As,Bs,Cs,Ds);
sysc=d2c(sysd,'zoh');
[Asc,Bsc,Csc,Dsc]=ssdata(sysc);
********************
the error is
Error using DynamicSystem/d2c (line 35)
The first input argument of the "d2c" command must be a discrete-time model.
Error in LQGG (line 5)
sysc=d2c(sysd,'zoh');

Respuestas (1)

Honglei Chen
Honglei Chen el 15 de Mzo. de 2013
You need to specify the sample time in ss, something like
ss(A,B,C,D,Ts)
  2 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 15 de Mzo. de 2013
Editada: Azzi Abdelmalek el 15 de Mzo. de 2013
Aniket, sysd=ss(As,Bs,Cs,Ds) ; is not a discrete model, it's continuous
Aniket
Aniket el 15 de Mzo. de 2013
ok but if the A,B,C,D matrix data is discrete then how should i convert it to continuous?

Iniciar sesión para comentar.

Categorías

Más información sobre Power and Energy Systems 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