Hi Wynand,
For a low-order problem like this, you can use the Symbolic toolbox to evaluate the equtation that computes the transfer function from the state space matrices. If you try it without success, feel free to post back here showing the code you tried and what the problem is.
Also, assuming this model represents some sort of mass-spring-damper system, I suggest reviewing the derivation of the state space matrices, because the A and B matrices don't look correct. For example, 1/b does not have the same units as 1/m.
A = [0 (1/m+1/b);-k (-k/m-k/b)]
A =
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1750409/image.png)
B = [0;k]
B =
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1750414/image.png)