image thumbnail

updated 15 hours ago

Resistance Calculator by Ligong Han

An equivalent resistance calculator for an arbitrary resistor network (circuit, gui)

bfs_visited(ugraph, startNode)

resistance_calculator(netMatrix,terminals)

resistance_calculator_gui

image thumbnail

updated 1 month ago

Tools for Axis Label Alignment in 3D Plot by Ligong Han

Make axis labels parallel to axes and place the them to a proper distance from the axes (3d projection, camera views, rotate3d)

align_axislabels(~,ax)

axislabel_rotation(~,ax)

axislabel_rotation_angle(h_a)

image thumbnail

updated 3 months ago

A simple BLAST algorithm by Ligong Han

A simple BLAST algorithm based on a simple dynamic programming strategy. (bioinformatics algori...)

myblast(seq1,seq2,pmv)

myblast_tree(seq1,seq2,pmv)

myblast_vtree(seq1,seq2,pmv)

image thumbnail

updated 4 months ago

RGB/HSV Distribution by Ligong Han

Visualization of distribution in RGB or HSV space. (image processing, color space, rgb)

align_axislabels(~,ax)

axislabel_translation(h_a,trans_pnt,trans_vec,trans_mode)

hsv_distribution(im,amp)

image thumbnail

updated 4 months ago

2D Cutting Stock Problems by Ligong Han

Algorithms for Generating Cutting Patterns of Equal Rectangular or Circular Blanks (optimization, cutting stock problem..., 2d cutting)

CSP2d_circle

CSP2d_hexagon

CSP2d_rectangle

image thumbnail

updated 4 months ago

Tools for 2-D Tomographic Reconstruction by Ligong Han

Tools for nonlinear filters & 2-D tomographic reconstruction (signal processing, image processing, reconstruction)

anisodiff(u, n_iter, tao, lambda, option)

bilateral_filter(u, n_iter, gn, lambda_s, lambda_r, option)

bpf(f, sf, BL, BH)

image thumbnail

updated 4 months ago

Ball Collision Simulation by Ligong Han

This is a simple physics engine for simulating sphere collision. (simulation, demo, physics)

IdealGasSimulation

ball_collision(balls,ball_pos,ball_v,varargin)

demo.m

image thumbnail

updated 5 months ago

Environment Modeling Based on Multiple Ultrasonic Sensors by Ligong Han

A simulation of environment modeling algorithm based on comparison of adjacent distances (simulation, gui, modeling)

DouglasPeucker(PointList, epsilon, showdata)

distsensormodel(ds,theta,a)

distsensorrobot

image thumbnail

updated 5 months ago

Compute Induced Electric Field by Ligong Han

Calculate the induced electric field using the integral expression. (physics, engineering, pde)

BvP_pde(c)

CurlPoly(polychain,x,y)

CurlRightTri(pt,sidelength)

image thumbnail

updated 5 months ago

Ramer-Douglas-Peucker algorithm demo by Ligong Han

A demo of Ramer-Douglas-Peucker algorithm. (demo, signal processing)

DouglasPeucker(PointList, epsilon, showdata)

RDP_GUI

demo.m

image thumbnail

updated 5 months ago

Robot Game by Ligong Han

An implementation of the UCB E7 Robot Tournament (gui, game)

robostrategy_follow(env,mem)

robostrategy_na(env,mem)

robostrategy_rand(~,mem)

image thumbnail

updated 5 months ago

Birthday Cake by Ligong Han

Draw a birthday cake with candles and best wishes. (gui, game)

HappyBirthday(name_cell,n_age,words)

LatinAlphabet(k)

Demo.m

image thumbnail

updated 1 year ago

halftone by Ligong Han

converts a normal image to halftone image (image processing)

halftone_color(im,maxheight,a,b)

myHalftone(im)

myHalftone2(im,maxheight,a)

image thumbnail

updated almost 2 years ago

Hieroglyphs by Ligong Han

Latin alphabet to Egyptian hieroglyphs Translator (gui, demo)

cartouche(mpic,linewidth)

hieroglyphs_with_cartouche(str,nl)

latin2hieroglyph(str,nl,showim)

Contact us