image thumbnail

updated almost 2 years ago

Dragon Curve Generator by Janardhanan Sivaramakrishnan

Generates the dragon curve given number of iterations and seed angle. (mathematics, matrix)

M=dragon(iters,theta)

image thumbnail

updated almost 2 years ago

Kolam Generator by Janardhanan Sivaramakrishnan

This suite of functions can be used to generate geometric line drawing of Kolams. (mathematics, matrix, interpolation)

M=propose_kolam1D(size_of_kolam)

M=propose_kolam2D(size_of_kolam)

[N,len,Island]=count_islands(M)

image thumbnail

updated almost 2 years ago

Routh Pade Approximation by Janardhanan Sivaramakrishnan

To Compute Routh-Pade Approximant of a given stable transfer function to a desired degree. (control design, modeling, model order reduction)

Gr=Routh_Pade(G,r)

image thumbnail

updated almost 2 years ago

Routh Approximation by Janardhanan Sivaramakrishnan

Computes the reduced order model for a stable system (model reduction, routh approximation, gammadelta reduction)

RouthApprox=Routh_Approximation(G,r)

image thumbnail

updated 4 years ago

Solve Bilateral Matrix Quadratic Equation by Janardhanan Sivaramakrishnan

Solves matrix equation of type AX+XB+XCX+D = 0 for X being non-square. (matrix equation, quadratic, solver)

X=Solve_BQME(A,B,C,D)

image thumbnail

updated 5 years ago

Powerful Sudoku Solver by Janardhanan Sivaramakrishnan

A function that solves everything but the toughest of sudoku puzzles (games, sudoku, puzzle solver)

Sol=sudoku_lvl2(A)

image thumbnail

updated 5 years ago

Multi-input Controllable Canonical Form by Janardhanan Sivaramakrishnan

Computes the Frobenius Transformation to get a Multi-input state space to Controllable canonical for (controllable, canonical form, frobenius transformat...)

[T,Ad,Bd,ni]=mi_ctrb(A,B)

image thumbnail

updated 5 years ago

Optimal Modal Reduction by Janardhanan Sivaramakrishnan

Optimal Reduced Order State Space (model reduction, modal reduction, time domain reduction)

[A_1,B_1,varargout]=ModalReduction(A,B,varargin)

image thumbnail

updated 5 years ago

Interval Bode Plot by Janardhanan Sivaramakrishnan

Plots the bode plot for an parametric uncertain system (interval systems, bode plot, control design)

interval_bode(NumVec,DenVec,clr)

image thumbnail

updated 5 years ago

Pade Approximation by Janardhanan Sivaramakrishnan

Computes the reduced order model for a given system by matching time moments (pade, model reduction, moment matching)

PadeApprox=Pade_Approximation(G,r)

image thumbnail

updated 5 years ago

State Space Convolution by Janardhanan Sivaramakrishnan

The script convolves two MIMO state space systems and gives the convoluted output (state space, convolution, feedback)

[Ao,Bo,Co,Do]=convsys(A1,B1,C1,D1,A2,B2,C2,D2)

[Ao,Bo,Co,Do]=sysfeedbk(Af,Bf,Cf,Df,Ab,Bb,Cb,Db)

[temps,Ao,Bo,Co,Do]=cleanss(Ao,Bo,Co,Do)

image thumbnail

updated 5 years ago

Balanced Truncation by Janardhanan Sivaramakrishnan

Script for obtaining balanced truncation for a given system (balanced, model reduction, singular value decomp...)

NewR=balancetrunc(A,B,C,D,orders)

image thumbnail

updated 5 years ago

Multiconv by Janardhanan Sivaramakrishnan

Convolution of more than two polynomials (convolution, mathematics, general)

multiconv(x1,x2,varargin)

Contact us