A system and method for detecting particles in a fluidic medium using a microfluidic sensor is described. The system utilises microfluidic channels though which the fluidic medium is passed. On one section of the microfluidic channel, an array of non-flexible electrodes are coupled with uniform spacing therebetween. On the opposing section of the channel, a flexible electrode is coupled and all electrodes are connected to an electrical analyser which is used to generate an electrical field inside the microfluidic channel with the flexible electrode acting as ground. The flexible electrode is actuated by different means to narrow the width of the microfluidic in the section of interest and to capture the particle between the section, where sectional scans of the particles are obtained and electrical properties of the particle are measured, thereby detecting the particles in the fluidic medium.