Dr Eleni Christoforidou's Projects
Takes a 1-D or 2-D array and computes the sum of the elements of it that are in the lower right triangular part of it, that is, elements in the counter-diagonal and elements that are to the right of it.
Simple hangman game in Python
This function performs a hill climbing algorithm, which is an iterative optimisation algorithm that starts with an arbitrary solution to a problem, then attempts to find a better solution by making an incremental change to the solution. If the change produces a better solution, another incremental change is made to the new solution, and so on until no further improvements can be found. The function uses a complex function to which the problem is finding the global maximum.
This function performs a hill climbing algorithm, which is an iterative optimisation algorithm that starts with an arbitrary solution to a problem, then attempts to find a better solution by making an incremental change to the solution. If the change produces a better solution, another incremental change is made to the new solution, and so on until no further improvements can be found. The function uses a relatively simple function to which the problem is finding the global maximum.
The function takes two input arguments that are scalar integers representing a month and a day. The function returns a logical true if the specified date is a holiday; if not, it returns false.
Adds together two positive integers of any length specified as character arrays using decimal notation.
Analysis of microscopy images following immunocytochemistry.
R code for Illumina miRNA result plots
Various functions for image analysis, such as resampling, filtering, and segmentation.
The function takes as its input a matrix A of integers of type double, and returns the name of the βsmallestβ signed integer class to which A can be converted without loss of information.
Confirm if a proposed sampling rate is high enough to avoid aliasing when sampling.
Determines the best fitting line in the least square sense, using the standard formula of a line: ax + b = y
Takes a square logical matrix and returns a cell array of n elements where the kth element corresponds to the kth row of the matrix.
The function takes a cell array where each element is a row vector of positive integers in increasing order representing the column indexes of the logical true values in the given row of a square logical matrix, as the corresponding square logical matrix.nd return
Various functions to inspect, extract, and visualise long-read RNA-seq data.
The function takes two matrices as input and returns their product if it exists.
Find the largest subset of people who all follow each other in a social network
Takes v, a vector and n, a positive integer, as inputs and computes the largest product of n consecutive elements of v. It returns the product and the index of the element of v that is the first term of the product.
3D code for a 500 ml Gibco media bottle cover.
Minesweeper game in Windows command line.
Pre-sequencing quality control of miRNA-seq libraries.
Obtain a single-track audio recording by mixing the individual tracks of a multi-track audio recording according to the static weights.
Morphometric analysis of cells in culture from confocal microscopy images.
The function moves every element of an input vector, v, that is equal to an input scalar, a, to the end of the vector.
Construct a MATLAB struct with name-value pairs
Morphometric analysis of neuromuscular junction microscopy images, and protein distribution and localisation analysis of immunohistochemically-labelled microscopy images.
Determine if the input is a palindrome
The function returns the largest palindrome smaller than an input number that is the product of two input digit numbers.
Functions for dimensionality reduction using principal component analysis.
Calculates the period T of a simple pendulum, which is the time required for a weight attached to a rod of length L and negligible weight to start from rest, swing with no friction under the influence of gravity from an initial angle a0, to βa0 and back to a0 again.