MATLAB MATLAB max(x) x x [y, i] =

MATLAB   MATLAB    max(x)  x  x   [y, i] =

MATLAB MATLAB

max(x) x x [y, i] = max(x) x y i x min(x), [y, i] = min(x)

max(A) i A i [y, u] = max(A) y u y A u max(A, [], dim) dim 1 max(A) dim 2 i A i min(A), [y,u] = min(A), min(A, [], dim)

x prod(x) x sum(A) i A i prod(A) i i sum(A, dim) prod(A, dim) dim = 1 sum(A) prod(A) dim = 2 sum(x)

n 1 x xi n i 1 1 n 2 1 ( xi x ) n 1 i 1 1 n 2 ( xi x ) 2 n i 1

mean(x) x std(x) x y=mean(A,dim)

dim = 1: y i A i dim = 2: y i A i y=std(A,flag,dim) dim = 1: dim = 2: flag = 0: flag = 1:

1 2 r=corrcoef(x,y) x [ x1 , x2 ,..., xn ] y [ y1 , y2 ,..., yn ]

n ( x x )( y i r i y) i 1 n (x x) i

i 1 2 n (y i 1 i y) 2

x y [y,i] = sort(x) x y i y x y=sort(x) n n+1

0 n n p( x) a1 x a2 x n 1 ... an x an 1 MATLAB p(x) p=[a1,a2, ,an,an+1]

conv(p1,p2) p1, p2 [q, r] = deconv(p1, p2) p1 p=polyder(p1,p2) p1 p2 [p,q] = polyder(p1,p2) p1 p2

p q p=polyder(p1) y=polyval(p, x) x x

x=roots(p) p=poly(x) x z=fzero(fname,x0) x0

fminbnd: x=fminbnd(fname,x1,x2) x1,x2: fminsearch: x=fminsearch(fname,x0) x0:

-f(x)f(x) MATLAB sym sym a=sym(a) a a MATLAB

a=sym(a); b=sym(b); % a,b x=3; y=4; % x,y w=a*a+b*b % w=x*x+y*y % whos MATLAB p1=sym(pi); a=sym(3); b=sym(4); %

p2=pi; x=3; y=4;% sin(p1/3) % sin(p2/3) % cos((a+b)^2) sin(pi/4) cos((x+y)^2) sin(pi/4) MATLAB syms syms syms var1 var2 varn var1,var2,,varn

(') MATLAB : y=1/sqrt(2*x) sym z = sym(3*x^2-f(x)5*y+2*x*y+6) A= sym([a,b;c,d]) syms x y;

z= 3*x^2-f(x)5*y+2*x*y+6 MATLAB findsym(s) s syms a b x y; % c=sym(3); % s=3*x+y; findsym(s) findsym(5*x+2) findsym(a*x+b*y+c)

MATLAB symadd symsub symmul symdiv sympow

MATLAB factor(s) expand(s) collect(s) collect(s,v) s

s s s v MATLAB sym sym(1.5) eval x=(1+sqrt(5))/2 eval(x) y=3/2 eval(y)

MATLAB limit limit(f,x,a) limit limit(f,x,a,'right') limit(f,x,a,'left') MATLAB

MATLAB diff(f,x,n) diff f x n x limit limit n 1 MATLAB MATLAB int

int(f,x) int f x x diff int(f,x,a,b) MATLAB symsum(s,x,n,m) s x n m

2.13 MATLAB taylor(f, x, n, a) f x n a f x=a MATLAB

x=solve(s,x) s x [x1,x2,,xn] = solve(s1,s2,,sn,x1,x2,,xn) s1,s2,,sn x1,x2,,xn. MATLAB D Dyy, D2yy dsolve

dsolve(e,c,x) e, c x c dsolve(e1,e2,,en, c1,c2,,cn,x1,x2,,xn)

Recently Viewed Presentations

  • Architect Training Local Admin 1 Todays Agenda Introduction

    Architect Training Local Admin 1 Todays Agenda Introduction

    Tasks - the number of tasks across all the projects that the user has. (A task is an action that has been sent to the user.) Total tasks, New tasks, and Late tasks are not additive, each is independent of...
  • Grand Canyon - Úvod

    Grand Canyon - Úvod

    Area info Grand Canyon doesn't line the whole vale of river Colorado, but only sector from inflow Little Colorado to west border Colorado's plain, where reaches max. parameters and the most delightful shaped order. It spreads on surface above 5000...
  • ECE60B Circuits and Systems II - University of California ...

    ECE60B Circuits and Systems II - University of California ...

    Eq.(3) can be rewritten equivalently as ECE 53A General solutions in terms of Fall 2007 ECE 53A Cascaded inverters with parasitic wiring inductance and gate capacitance Fall 2007 Two Cascaded Inverters RL RL RL RL Vin1 Vout2 Vin2 Vout1 Vin1...
  • General

    General

    Routing vs. Switching S. Keshav Cornell University OPENSIG Fall '97 What's the difference? Router look up destination port based on destination address send variable length packet to destination port RSVP signaling for establishing QoS state for scheduling schedule variable length...
  • Introduction to Project Management

    Introduction to Project Management

    Quadruple Constraint of Project Success. Figure 1-6. 01- ... Understand the concept of project "success," including various definitions of success, such as the "triple constraint," as well as alternative models of success.
  • Web Systems & Technologies CS-3548

    Web Systems & Technologies CS-3548

    PHP echo vs print: echo and print are more or less the same. They are both used to output data to the screen. The differences are small: echo has no return value while print has a return value of 1...
  • Fundamental Beliefs of the Church of God Repentance

    Fundamental Beliefs of the Church of God Repentance

    Repentance September 2011 Austin Bible Class * Repentance September 2011 Austin Bible Class * Repentance September 2011 Austin Bible Class * Repentance September 2011 ...
  • The Lightning Thief Rick Riordan - Weebly

    The Lightning Thief Rick Riordan - Weebly

    Discussion Question. The Lotus Casino in Las Vegas is a modern-day version of the Land of the Lotus Eaters, which Odysseus visited on his way back from Troy.