Adding derivative to current state space system

Hello, I have a state space system sys = ss(A,B,C,D) and would like to manipulate some columns of the B matrix by adding a derivative. For instance:
s = tf('s');
B(:,2) = B(:,2) + s*B(:,4) + s^2*B(:,5);
This is converting B(:,2) into a transfer function but I'd like to drop B back into to sys. Is this possible? Thank you for your help, Clay

Answers (0)

Asked:

on 13 Apr 2018

Edited:

on 15 Apr 2018

Community Treasure Hunt

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

Start Hunting!