This code is particularly for Nan Wang and Ricardo G. Sanfelice's submission to ADHS 2024, titled "HyRRT-Connect: A Bidirectional Rapidly-exploring Random Trees Motion Planning Algorithm for Hybrid Systems"
Usage: run hyrrtconnect.m
Dependency: No dependency is required.
Test: The code passes tests on MatLab R2021a.