From c0c0582462720ed597b00e116506570577614e89 Mon Sep 17 00:00:00 2001 From: shamikam Date: Tue, 7 Nov 2017 15:59:48 +0530 Subject: initial commit --- help/en_US/scilab_en_US_help/cell2sos.html | 100 +++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 help/en_US/scilab_en_US_help/cell2sos.html (limited to 'help/en_US/scilab_en_US_help/cell2sos.html') diff --git a/help/en_US/scilab_en_US_help/cell2sos.html b/help/en_US/scilab_en_US_help/cell2sos.html new file mode 100644 index 0000000..0311029 --- /dev/null +++ b/help/en_US/scilab_en_US_help/cell2sos.html @@ -0,0 +1,100 @@ +
+ +Converts a cell array to a second order section matrix
s=cell2sos(c) converts a a cell array c = { {B1},{A1}, {B2},{A2}, ... {BL},{AL}} +to an L-by-6 second-order-section matrix s given by: +s = [B1 A1 +B2 A2 +... +BL AL] +numerator vector Bi and denominator vector Ai contains the coefficients of a +linear or quadratic polynomial. If the polynomial is linear, the coefficients +zero-padded on the right. +[s,g]=cell2sos(c) estimates the gain from the leading term of the cell array +c={ {[g1,g2]},{B1},{A1}, {B2},{A2}, ... {BL},{AL}} to give g=g1/g2 as the gain +Example +c=cell(1,5);
+c(1,1).entries=[2, 1];
+c(1,2).entries=rand(1,3);
+c(1,3).entries=rand(1,3);
+c(1,4).entries=rand(1,3);
+c(1,5).entries=rand(1,3);
+c = +column 1 to 3
+![2,1] [0.2113249,0.7560439,0.0002211] [0.3303271,0.6653811,0.6283918] !
+column 4 to 5
+![0.8497452,0.6857310,0.8782165] [0.0683740,0.5608486,0.6623569] ! +[s,g]=cell2sos(c); +s =
+column 1 to 5
+0.2113249 0.7560439 0.0002211 0.3303271 0.6653811 +0.8497452 0.6857310 0.8782165 0.0683740 0.5608486
+column 6
+0.6283918 +0.6623569
+g =
+2. +Author +Ankur Mallick