Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ECheynet authored Feb 4, 2021
1 parent eaa04d5 commit 2969386
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions SSICOV_noToolbox.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function [fn,zeta,phi,varargout] = SSICOV_V2(y,dt,varargin)
function [fn,zeta,phi,varargout] = SSICOV_noToolbox(y,dt,varargin)
%
% -------------------------------------------------------------------------
% [fn,zeta,phi,varargout] = SSICOV(y,dt,varargin) identifies the modal
% [fn,zeta,phi,varargout] = SSICOV_noToolbox(y,dt,varargin) identifies the modal
% parameters of the M-DOF system whose response histories are located in
% the matrix y, sampled with a time step dt.
% -------------------------------------------------------------------------
Expand All @@ -25,16 +25,16 @@
% varargout: structure data useful for stabilization diagram
% -------------------------------------------------------------------------
% Syntax:
% [fn,zeta,phi] = SSICOV(y,dt,'Ts',30) specifies that the time lag
% [fn,zeta,phi] = SSICOV_noToolbox(y,dt,'Ts',30) specifies that the time lag
% has to be 30 seconds.
%
% [fn,zeta,phi] = SSICOV(y,dt,'Ts',30,'Nmin',5,'Nmax',40) specifies that the
% [fn,zeta,phi] = SSICOV_noToolbox(y,dt,'Ts',30,'Nmin',5,'Nmax',40) specifies that the
% time lag has to be 30 seconds, with a system order ranging from 5 to 40.
%
% [fn,zeta,phi] = SSICOV(y,dt,'eps_cluster',0.05) specifies that the
% [fn,zeta,phi] = SSICOV_noToolbox(y,dt,'eps_cluster',0.05) specifies that the
% max distance inside each cluster is 0.05 hz.
%
% [fn,zeta,phi] = SSICOV(y,dt,'eps_freq',1e-2,'eps_MAC'.1e-2) changes the
% [fn,zeta,phi] = SSICOV_noToolbox(y,dt,'eps_freq',1e-2,'eps_MAC'.1e-2) changes the
% default accuracy for the stability checking procedure
%
% -------------------------------------------------------------------------
Expand Down Expand Up @@ -189,7 +189,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [U,S,V] = blockToeplitz(h)
%
% [U,S,V] = SSICOV(h) calculate the shifted block Toeplitz matrix T1 and
% [U,S,V] = blockToeplitz(h) calculate the shifted block Toeplitz matrix T1 and
% the result from the SVD of T1
%
% Input:
Expand Down Expand Up @@ -450,7 +450,7 @@
end

if numel(pos)==1,
warning('linkage failed: at least one distance (two observations) are required');
warning('At least one distance (two observations) are required');
fn = nan;
zeta = nan;
phi = nan;
Expand All @@ -459,12 +459,6 @@

Tree = PHA_Clustering(pos);
[~, myClus0, Number] = Cluster2(Tree,'Limit',eps_cluster);


% Z = linkage(pos,'single','euclidean');
% myClus = cluster(Z,'Cutoff',eps_cluster,'Criterion','distance');
%




Expand Down

0 comments on commit 2969386

Please sign in to comment.