%Sugeno type fuzzy control for single inverted pendulum close all; P=[-10-10i;-10+10i]; %Stable pole point F1=place(A1,…
linear 源代码
Linear即凌特公司(LinearTechnologyCorporation)创建于1981年,总部位于美国硅谷,是一家高性能线性集成电路制造商。
%Sugeno type fuzzy model clear all; close all; ts2=newfis('ts2','sugeno'); ts2=addvar(ts2,'input','X',[0 5]); ts2=addmf(t…
function WriteOut(fid,p,t) % WriteOut(fid,p,t) % Write time t and state p to space-delimited file with id fid % Colin Fox, 12…
CXX ?= g++ CC ?= gcc CFLAGS ?= -Wall -O3 -fPIC LIBS ?= blas/blas.a #LIBS ?= -lblas all: train predict train: tron.o linear.o tra…
#You must ensure nmake.exe, cl.exe, link.exe are in system path. #VCVARS32.bat #Under dosbox prompt #nmake -f Makefile.win ######…
# This Makefile is used under Linux MATLABDIR ?= /usr/local/matlab CXX ?= g++ #CXX = g++-3.3 CC ?= gcc CFLAGS = -Wall -O3 -fPIC -…
% This make.m is used under Windows mex -O -c ..\blas\*.c -outdir ..\blas mex -O -c ..\linear.cpp mex -O -c ..\tron.cpp mex …
x=0:8; y=sin(x); x1=0:.1:8; y1=interp1(x,y,x1,'nearest') ; y2=interp1(x,y,x1,'linear') ; y3=interp1(x,y,x1,'spline') ; y4=in…
%PERLC Linear classifier by linear perceptron % % W1 = perlc(A,n,step,w) % % Finds the linear discriminant function W1 (a mapp…
function tf = islinphase(b,a) % ISLINPHASE True for a linear phase filter. % % ISLINPHASE(B,A) may be used to test whether B,A fo…