image thumbnail

updated 17 hours ago

Frequency time graph. by Youssef KHMOU

Three dimensional graph to represent one dimensional sine waves (frequency, time, sine wave)

U=ftrep(f)

image thumbnail

updated 8 days ago

DGGAM - Draw Graph Get Adjacency Matrix by Ondrej

Draw any graph and export it as fig and save its adjacency matrix (graph, adjacency matrix, graphics export)

DGGAM(varargin)

image thumbnail

updated 1 month ago

Find maximal cliques for large & sparse network by max Wei

Find maximal cliques for large & sparse network (graph, clique, sparse)

ELSclique( A )

image thumbnail

updated 1 month ago

grabxy by Sandor Toth

capture XY coordinates from raster image (grab, xy, coordinate)

grabxy(fName, ax)

image thumbnail

updated 1 month ago

Wind Rose by Daniel Pereira

Graph and table for Direction-Intensity data (pivot, table, interval)

WindRose.m

image thumbnail

updated 1 month ago

Community Detection in Graph by Costas Panagiotakis

Community Detection in Graph Using Synthetic Coordinates (community detection, graph, clustering)

runSCCD(filename)

testSCCD.m

image thumbnail

updated 2 months ago

Graph-based clustering and data visualization algorithms by Janos Abonyi

Combines graph-based topology representation and dimensionality reduction methods (graph, visualization, dimensionality reduct...)

L2_distance(a,b,df)

MDS(D, options);

[Fpn conn]=jarpat(X,k,j,tr1)

image thumbnail

updated 3 months ago

Tree data structure as a MATLAB class by Jean-Yves Tinevez

A per-value class that implements a generic tree data structure. (matlab, data structure, tree)

image thumbnail

updated 3 months ago

savefigure by Aslak Grinsted

Easy way of saving figures to publication friendly format. (graphics import, graphics export, save)

ArgStruct=parseArgs(args,ArgStruct,varargin)

[varargout]=savefigure(fname,varargin)

image thumbnail

updated 3 months ago

Convert Image To And From Graph Coordinates by Michael Chan

Illustrates mapping of binary image to graph coordinates and vice-versa. (image, plot, coordinates)

mapPixelsToCoordinatedPlotGraph(pixeliZedScratchPad, ...

plotCoordinatesToImagePixels(x_coordinates, y_coordinates...

usage_ImageToAndFromGraphCooridinates.m

image thumbnail

updated 4 months ago

Splitting a network into connected components by Sebastian thomas

A function to return all the components of a graph (graph, adjacency matrix, connected components)

splitNetworkIntoComponents(A);

image thumbnail

updated 5 months ago

Format Tick Labels (Extended v2) by Maha

Replace Tick Label with LaTeX compatible Objects. Extends file 15986 created by Alexander Hayes. (annotation, axes, customization)

...

image thumbnail

updated 6 months ago

voltage stability by vijay soni

percentage compensation (graph)

fifty.m

image thumbnail

updated 6 months ago

Community Detection Toolbox by Athanasios Kehagias

The CDTB contains graph generators, clustering algorithms and cluster number selection functions (graph, clustering, community detection)

CNFixed(VV,K)

CV=CVIdx(V,A)

GCAFG(A,Scale)

image thumbnail

updated 7 months ago

SPEECH COMPARER by SHARAD VERMA

COMPARES TWO DIFFERENT SPEECHES (graph)

voice.m

image thumbnail

updated 7 months ago

Read Gml by Elias

Stores gml info in hierarchical structure. Derive Adjacency Matrix (graph, gml, struct)

get_adjacency_matrix(graph)

get_next_struct(content, i)

read_gml(filename)

image thumbnail

updated 8 months ago

circus() - just a simple circle function to generate circle info for plotting by Brad

give circus a radius and it returns circumference coordinates to plot (circle, plot circle, 3d circle)

circus(r,varargin)

image thumbnail

updated 10 months ago

Fixed Point Algorithm by James Adams

Calculates the fixed point of a function. (fixed point, algorithm, function)

FixedPoint_Algorithm_JA

image thumbnail

updated 10 months ago

Quadratic Solver by James Adams

Finds solutions to a Quadratic function using Quadratic formula (quadratic, function, roots)

QuadraticFunction_JA

image thumbnail

updated 10 months ago

Linear Equation by James Adams

Calculates a linear equation for two given points. (linear, inversion, matrix)

LinearEquation_JA

image thumbnail

updated 10 months ago

Noon-Bean Transformation by Neil

Noon-Bean Transformation to transform a GTSP instance to an ATSP instance (graph, tsp, gtsp)

noon_bean_gtsp_to_atsp(gtspAdjMatrix, setMap)

image thumbnail

updated 10 months ago

Knights Tour by Sumit

This Program generates the knights tour for a given mXn board for a given position of the knight (plot, plotting, graph)

chessknight.m

coordinates1.m

knights_all.m

image thumbnail

updated 1 year ago

Bar Chart with Error Bars by Martina Callaghan

This is a very simple extension of MatLab's bar function to add error bars. (error, bar, errorbar)

barwitherr(errors,varargin)

image thumbnail

updated 1 year ago

eb_ticklength by Tom Millard

Adjust the horizontal tick length on errorbar plots for both linear x scale and log base 10 x scale. (xaxis, log scale, plotting)

eb_ticklength(hERROR, width)

image thumbnail

updated 1 year ago

distributed radio net by Maxim Vedenyov

best routs found with dijkstra's algorithm (distributed net, ber, dijkstra)

ptha=dijkstra(C,w,nc)

test1_random_nodes.m

image thumbnail

updated 1 year ago

Weighted maximum matching in general graphs by Daniel Saunders

Computes a maximum-weighted matching in a general undirected graph. (graph, matching, maximum)

maxWeightMatching(inedges, inmaxcardinality)

runUnitTest(edgeData,correct, inmaxcardinality)

testMaxWeightMatching.m

image thumbnail

updated 1 year ago

figtopdf by Alexandre Willame

figtopdf saves figures as .pdf image. (pdf, image, graph)

figtopdf(filename, comment, figures)

image thumbnail

updated 1 year ago

Points and Lines Drawing Tools by Marco Chak Yan Yu

A simple code to implement points and point-to-point lines drawing in a figure. (gui, draw, graph)

DrawGUI(varargin)

H=gsortline(fig,env,xy,xyi,direction,interp1method,bin,pt...

h=gpoints(fig,env,xy,varargin)

image thumbnail

updated 1 year ago

Modified & Generalized Dunn's index by Nejc Ilc

An implementation of Modified and Generalized Dunn's index for internal cluster validation. (clustering, validation, dunns index)

DI=indexDN(data,labels,distance)

[G,d,uniqueInd]=graph_create(data,labels,graph_type,optio...

[fig]=scatterPlot(data,labels,options)

image thumbnail

updated 1 year ago

Region Adjacency Graph (RAG) by David Legland

Computes the graph of adjacent regions in a labeled image (image analysis, rag, image)

demoImRAG

imRAG(img, varargin)

image thumbnail

updated 1 year ago

img2curve by Amihay Blau

Imports curves from pictures and graphs (digitize, digitizing, image to curve)

img2curve

image thumbnail

updated 1 year ago

columnlegend by Simon Henin

Creates a legend with a specified number of columns (columns, figure, legends)

columnlegend(numcolumns, str, varargin)

image thumbnail

updated 1 year ago

K shortest paths in a graph represented by a sparse matrix (Yen's algorithm) by El-ad David Amir

Determine the K shortest paths from node S to node T. (dijkstra, shortestpath, graph)

graphkshortestpaths.m

image thumbnail

updated 1 year ago

Edgelist for Adjacency Matrix that represents unweighted undirected graph by Zhana Kuncheva

Produces the edgelist of any adjacency matrix representing an undirected unweighted graph. (graph, edgelist, adjacency matrix)

edgelist.m

image thumbnail

updated 1 year ago

Breath First Search by Anh-Dung Nguyen

Breath First Search algorithm to find shortest paths in a network (bfs, shortest path, graph)

bfs(A,s,t)

image thumbnail

updated almost 2 years ago

Graph incidence matrix to adjacency matrix by Ondrej

Conversion from graph incidence matrix to adjacency matrix. (incidence, adjacency, graph)

inc2adj(mInc)

image thumbnail

updated almost 2 years ago

k-clique algorithm by Anh-Dung Nguyen

k-clique community detection algorithm (community detection, kclique, network)

k_clique(k,M)

image thumbnail

updated 2 years ago

clplot: plot line with level-dependent color by Carl Witthoft

Creates a line plot whose color depends on which 'slice' of the y-range the y-value falls into. (statistics, graph)

clplot( x, y, cutval, cols, varargin )

image thumbnail

updated 2 years ago

Connected Component Analysis on an Undirected Graph by Tristan Ursell

Connected component analysis on undirected graphs, with thresholding and connectivity constraints. (graph, theory, undirected)

[groups,orphans]=graph_analysis(W,varargin)

image thumbnail

updated 2 years ago

an implementation of min-cut algorithm by Hu

min-cut for a connectivity weight graph (mincut, graph)

mincut(g, s)

image thumbnail

updated 2 years ago

Custom Colors for Plots by Andres

This function provides a selection of colors easy to differentiate for plotting graphics. (plot, graph, color)

ccol=CustomColors(ct1)

image thumbnail

updated 2 years ago

Make Pretty (Publishable) Graphs by Ruth Livingstone

Easily create publishable ready figures. Great used with export_fig or on its own. (figure, edit, graph)

pubgraph(fh,FS,LW,CL)

image thumbnail

updated 2 years ago

Adjust PDF page by Cris Luengo

MATLAB writes figures to PDF files as a full page. This function corrects that. (print, publish, pdf)

adjustpdfpage(figh,width)

image thumbnail

updated 2 years ago

Solve the puzzle via djstra shortest path algorithm by Su Dongcai

an interesting application of djstra algorithm (demo, image processing, djstra)

shortestPath(img, sp, dp)

image thumbnail

updated almost 3 years ago

find graph conected components by Maxim Vedenyov

[labels roots] = graph_connected_components(connection_matrix) (graph, connected components, breadthfirst search)

graph_connected_components(C)

zz_test_graph_connected_components.m

zz_test_graph_connected_components_picture.m

image thumbnail

updated almost 3 years ago

PhotoShop Scatter by Robert Macrae

A script for creating transparent scatter plots in Photoshop. Requires Photoshop. (data export, scatter, transparent)

psscatter(X,Y,PointSize,DataPointLocation)

image thumbnail

updated 3 years ago

Count all cycles in simple undirected graph by Jeff Howbert

Counts all cycles in a simple undirected graph up to specified size limit, using backtracking. (graph, undirected, count)

cycleCountBacktrack( inputFormat, source, varargin )

readGraph( inputFormat, source )

image thumbnail

updated 3 years ago

Count all cycles size 3 to 9 in simple undirected graph by Jeff Howbert

Counts all cycles size 3 to 9 in simple undirected graph, using pruned combinatorial enumerations. (count, cycle, graph)

cycleCountCombin( inputFormat, source )

readGraph( inputFormat, source )

image thumbnail

updated 3 years ago

IPN_voxelGraph by Xi-Nian Zuo

Functions to Generate Large Correlation Matrix and Sparse Matrix of Huge Graph. (correlation, brain, connectome)

IPN_calLCAM(data, thresh, nblock, connType)

IPN_fastCorr(X, Y)

image thumbnail

updated 3 years ago

Graph adjacency matrix to incidence matrix by Ondrej

Conversion from graph adjacency matrix to incidence matrix. (adjacency, incidence, graph)

adj2inc(mAdj,varargin)

Contact us