This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isStable = rh_stability(TF) | |
% RH_STABILITY determines stability of a transfer function using Routh-Hurwitz criterion | |
% isStable = rh_stability(TF) checks the stability of transfer function tf. | |
if (class(TF) ~= "tf") | |
error("input argument must be of type 'tf' (transfer function)."); | |
end | |
% get the denominators of tf | |
TF = tf(TF); % compute the polynomial if tf is in form of zpk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
from PIL import ImageFont | |
import random | |
import os | |
import shutil | |
os.getcwd() | |
def fit_text(string: str, frame_width, translation_font): | |
split_line = [x.strip() for x in string.split()] | |
lines = "" |