view src/ltpda_ssmsim/validate_mex.m @ 27:29276498ebdb
database-connection-manager
Remove LTPDARepositoryManager implementation
* * *
Remove GUI helper
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05) |
parents |
f0afece42f48 |
children |
|
line source
function [yx,xx,lxx,y,x,lx] = validate_mex(Nsamples, Nstates, Nstatesout, Ninputs, Noutputs)
lastX = zeros(Nstates,1);
A = 0.1*rand(Nstates);
Coutputs = rand(Noutputs,Nstates);
Cstates = eye(Nstates);
Cstates = Cstates(1:Nstatesout,1:Nstates);
Baos = rand(Nstates,Ninputs);
Daos = rand(Noutputs, Ninputs);
input = randn(Ninputs, Nsamples);
xx = [];
[yx,lxx] = ltpda_ssmsim(lastX, A.', Coutputs.', Cstates, Baos.', Daos.', input);
[y,x,lx] = mat_ssmsim(lastX, A, Coutputs, Cstates, Baos, Daos, input);
end