% Matlab Init :noexport:ignore: %% dcm_hac_iff.m % Development of the HAC-IFF control strategy %% Clear Workspace and Close figures clear; close all; clc; %% Intialize Laplace variable s = zpk('s'); %% Path for functions, data and scripts addpath('./mat/'); % Path for data %% Simscape Model - Nano Hexapod addpath('./STEPS/') %% Initialize Parameters for Simscape model controller.type = 0; % Open Loop Control %% Options for Linearization options = linearizeOptions; options.SampleTime = 0; %% Open Simulink Model mdl = 'simscape_dcm'; open(mdl) %% Colors for the figures colors = colororder; %% Frequency Vector freqs = logspace(1, 3, 1000);