Homepage: https://phymhan.github.io/

Submitted

2-D Tomographic Reconstruction Demo

Matlab demo for 2-D tomographic reconstruction

2 years ago | 15 downloads |

Submitted

Compute Induced Electric Field

Calculate the induced electric field using the integral expression.

2 years ago | 3 downloads |

Submitted

phymhan/matlab-axis-label-alignment

Align axis labels nicely in parallel with axes in MATLAB (3-D) plots.

2 years ago | 50 downloads |

Submitted

Draw a Point Spread Function with Mouse

Draw a Point Spread Function with Mouse

5 years ago | 6 downloads |

Submitted

Resistance Calculator

An equivalent resistance calculator for an arbitrary resistor network

5 years ago | 7 downloads |

Submitted

A simple BLAST algorithm

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

5 years ago | 3 downloads |

Submitted

RGB/HSV Distribution

Visualization of distribution in RGB or HSV space.

5 years ago | 6 downloads |

Submitted

2D Cutting Stock Problems

Algorithms for Generating Cutting Patterns of Equal Rectangular or Circular Blanks

5 years ago | 7 downloads |

Submitted

Ball Collision Simulation

This is a simple physics engine for simulating sphere collision.

5 years ago | 8 downloads |

Submitted

Environment Modeling Based on Multiple Ultrasonic Sensors

A simulation of environment modeling algorithm based on comparison of adjacent distances

5 years ago | 2 downloads |

Submitted

Ramer-Douglas-Peucker algorithm demo

A demo of Ramer-Douglas-Peucker algorithm.

5 years ago | 2 downloads |

Submitted

Birthday Cake

Draw a birthday cake with candles and best wishes.

5 years ago | 12 downloads |

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

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

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

7 years ago