image thumbnail

updated 1 year ago

Price call and put options using Constant Elasticy of Variance model by Hanan Kavitz

An alternative to using Black and Scholes model is using Constant Elasticity of Variance model. (financial models, black and shcoules, constant elasticity m...)

[call,put]=constantElasticity(S,K,r,T,sigma,q,alpha)

image thumbnail

updated 1 year ago

Black and Shcoles calculator by Hanan Kavitz

Graphical Black and Shcoles calculator for visualizing different sensetives (bls, black and shcoles, gui)

blscalculator(varargin)

image thumbnail

updated almost 2 years ago

Genetic Packman by Hanan Kavitz

A simple demonstration of Genetic Algorithm using all times favorite game. (optimization, global optimization, genetic algorithm)

[x,fval,exitFlag]=geneticPackman(cubeSize,numOfMoves,pack...

mutate_permutation(parents ,options,NVARS, ...

val=greedyPackman(field,numOfSteps)

image thumbnail

updated almost 2 years ago

Credit Scoring demo by Hanan Kavitz

This is a demo that uses boosting to do credit scoring of German customers. (statistics, boosting, classification)

creditRatingGui(varargin)

image thumbnail

updated almost 2 years ago

Image reconstruction by Hanan Kavitz

The purpose of this demo is to reconstruct a simple picture of several polygons. (genetic algorithm, global optimization, image reconstruction)

imageBuilding

[state,options,optchanged]=drawBestSolution(options,state...

mygaplotbestf(options,state,flag)

image thumbnail

updated 2 years ago

Knapsack problem by Hanan Kavitz

A well known combinatorial problem (knapsack problem, optimization, linear programming)

knapsackGA

image thumbnail

updated almost 3 years ago

Heap by Hanan Kavitz

heap data type (heap, datatype, oop)

Heap

heapDriver.m

image thumbnail

updated almost 3 years ago

queue and stack classes by Hanan Kavitz

Implementation of doubly linked list, stack and queue (queue, stack, doubly linked list)

DoublyLinkedList

Node

Queue

image thumbnail

updated almost 3 years ago

stable matching by Hanan Kavitz

Straightforward implementation of Gale-Shapley "stable marriage" algorithm. (stable marriage, galeshapley, stable matching)

match=stableMatching(mPref,wPref)

stableMatchingDriver.m

image thumbnail

updated almost 3 years ago

Red Black Tree by Hanan Kavitz

Matlab implementation of RedBlack tree (redblack tree, red black tree, algorithm)

Nodes.ColoredNode

Nodes.Colors

Nodes.FullNode

Contact us