Community Profile

Ligong Han

Last seen: 14 days ago
31 total contributions since 2013

View details...

Contributions in
View by

Submitted

matlab-fuzzy-cd
A simple fuzzy cd function for Matlab

Submitted

2-D Tomographic Reconstruction Demo
Matlab demo for 2-D tomographic reconstruction

Submitted

Compute Induced Electric Field
Calculate the induced electric field using the integral expression.

Submitted

phymhan/matlab-axis-label-alignment
Align axis labels nicely in parallel with axes in MATLAB (3-D) plots.

Submitted

Colored Calendar
Display colored calendar in command window

Submitted

Draw a Point Spread Function with Mouse
Draw a Point Spread Function with Mouse

Submitted

Resistance Calculator
An equivalent resistance calculator for an arbitrary resistor network

Submitted

A simple BLAST algorithm
A simple BLAST algorithm based on a simple dynamic programming strategy.

Submitted

RGB/HSV Distribution
Visualization of distribution in RGB or HSV space.

Submitted

2D Cutting Stock Problems
Algorithms for Generating Cutting Patterns of Equal Rectangular or Circular Blanks

Submitted

Ball Collision Simulation
This is a simple physics engine for simulating sphere collision.

Submitted

Environment Modeling Based on Multiple Ultrasonic Sensors
A simulation of environment modeling algorithm based on comparison of adjacent distances

Submitted

Ramer-Douglas-Peucker algorithm demo
A demo of Ramer-Douglas-Peucker algorithm.

Submitted

Robot Game
An implementation of the UCB E7 Robot Tournament

Submitted

Birthday Cake
Draw a birthday cake with candles and best wishes.

Submitted

halftone
converts a normal image to halftone image

Solved

Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

7 years ago

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

7 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

7 years ago

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

7 years ago

Solved

Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

7 years ago

Solved

Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

7 years ago

Solved

Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

7 years ago

Solved

Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

7 years ago

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

7 years ago

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

7 years ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

7 years ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

7 years ago

Solved