How to create a buffer
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Naming Conventions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!