How to create a buffer
2 次查看(过去 30 天)
显示 更早的评论
How to create a buffer for my (X,P,Y,U) i have created arrays of them(Pbuff,Xbuff,Ybuff,Zbuff) now i need to create a buffer using these arrays
Matlab Code : -
% input vector from proprioceptive sensors
deltaq = [ qR(i) - qR(i-1) ;
qL(i) - qL(i-1) ] ;
U = jointToCartesian * deltaq ; % joint speed to Cartesian speed.
Ubuff = numel(U);
X = EvolutionModel( X , U ) ;
Xbuff = numel(X);
P = A*P*(A.') + B*Qbeta*(B.') + Qalpha ;
Pbuff = numel(P);
% Measurement vector: coordinates of the magnet in Rm.
Y = [ sensorPosAlongXm ;
sensorRes*( measures(measNumber) - sensorOffset ) ] ;
Ybuff = numel(Y);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Naming Conventions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!