PIECEWISE_EVAL: evaluates a piecewise function of x
usage: y = PIECEWISE_EVAL(x,breakpoints,funs)
arguments (input)
x - vector or array of points to evaluate though the function
breakpoints - list of n breakpoints, -inf and +inf are implicitly
深入理解計算機系統(computer system:a programmer s perpective)是一本非常經典的教材,國內外很多大學都采用此教材講授ICS課程(introduction to computer system) 本代碼是該書配套的一個實驗的實現,(代碼優化,圖形學相關)得了滿分哦!
計算廣義分形維數的matlab源程序。希望對大家有用!
函數形式:function [dq,rq]=fdim(q,x,trace)
不同q值下得到不同定義的分形維,如:q=0 is Hausdorf, q=1 is Information, q=2 is Correlation, etc.具體說明見程序。