I created a function to calculate forces at unbalanced beds.
My inputs are constants or variables [my simulink model][1]
function [ A_bed, B_bed] = unb