Abstract: This paper studies an uplink dual-functional sensing and communication system assisted by an active or passive reconfigurable intelligent surface (RIS), whose reflection pattern is optimally ...