MATLAB: How can i obtain intersection values of dataset graph with the constant line y=0

MATLABplotting

a=[16.1500000000000;16.1600000000000;16.1900000000000;16.2400000000000;16.3200000000000;16.4000000000000;16.4900000000000;16.5600000000000;16.6200000000000;16.6600000000000;16.6400000000000;16.5500000000000;16.4300000000000;16.2500000000000;16.0500000000000;15.7700000000000;15.4800000000000;15.2200000000000;15.0600000000000;15.0700000000000;15.2300000000000;15.5600000000000;15.9700000000000;16.3900000000000;16.7500000000000;17.0200000000000;17.1400000000000;17.1300000000000;17;16.7600000000000;16.4500000000000;16.1200000000000;15.8300000000000;15.6100000000000;15.4400000000000;15.3200000000000;15.2700000000000;15.2700000000000;15.3300000000000;15.4800000000000;15.7100000000000;16.0400000000000;16.3900000000000;16.7300000000000;17;17.1800000000000;17.2400000000000;17.1600000000000;16.9700000000000;16.6700000000000;16.3100000000000;15.9200000000000;15.5900000000000;15.3800000000000;15.2800000000000;15.3000000000000;15.4200000000000;15.6400000000000;15.8300000000000;16.0700000000000;16.3400000000000;16.5800000000000;16.7200000000000;16.7700000000000;16.7200000000000;16.6000000000000;16.4000000000000;16.2200000000000;16.0700000000000;15.9900000000000;15.9800000000000;16.0200000000000;16.0800000000000;16.1300000000000;16.1400000000000;16.1500000000000;16.1500000000000;16.1200000000000;16.0700000000000;16.0400000000000;16.0600000000000;16.1000000000000;16.1800000000000;16.2700000000000;16.3300000000000;16.3400000000000;16.2500000000000;16.2000000000000;16.1800000000000;16.1900000000000;16.2500000000000;16.3400000000000;16.4000000000000;16.4400000000000;16.4400000000000;16.4000000000000;16.3600000000000;16.3200000000000;16.2500000000000;16.1600000000000;16.0600000000000;15.9400000000000;15.8300000000000;15.7800000000000;15.7600000000000;15.8000000000000;15.9000000000000;16.0400000000000;16.2100000000000;16.4000000000000;16.5500000000000;16.7200000000000;16.8400000000000;16.9000000000000;16.8600000000000;16.6800000000000;16.4000000000000;16.1000000000000;15.8100000000000;15.5500000000000;15.4000000000000;15.3400000000000;15.4500000000000;15.6900000000000;16.0100000000000;16.3400000000000;16.6400000000000;16.8200000000000;16.9100000000000;16.9200000000000;16.8500000000000;16.7200000000000;16.5000000000000;16.2800000000000;16.0400000000000;15.8000000000000;15.5900000000000;15.5000000000000;15.5200000000000;15.6400000000000;15.8500000000000;16.1300000000000;16.4000000000000;16.5900000000000;16.7200000000000;16.7200000000000;16.6300000000000;16.5000000000000;16.3900000000000;16.2800000000000;16.1500000000000;16;15.8900000000000;15.8300000000000;15.7900000000000;15.7700000000000;15.7900000000000;15.8600000000000;16.0100000000000;16.2000000000000;16.3600000000000;16.5000000000000;16.6100000000000;16.6600000000000;16.6000000000000;16.4700000000000;16.3200000000000;16.1400000000000;15.9500000000000;15.8200000000000;15.7300000000000;15.7200000000000;15.7900000000000;15.9200000000000;16.0600000000000;16.1400000000000;16.2200000000000;16.3100000000000;16.4000000000000;16.4700000000000;16.5200000000000;16.4900000000000;16.4600000000000;16.4000000000000;16.3100000000000;16.2000000000000;16.1000000000000;16.0300000000000;15.9400000000000;15.8900000000000;15.8500000000000;15.8600000000000;15.9200000000000;16.0100000000000;16.1200000000000;16.2700000000000;16.4300000000000;16.5800000000000;16.7400000000000;16.8000000000000;16.7500000000000;16.6800000000000;16.5300000000000;16.3200000000000;16.0700000000000;15.8300000000000;15.6700000000000;15.6200000000000;15.6300000000000;15.7100000000000;15.8200000000000;15.9900000000000;16.1900000000000;16.3800000000000;16.5600000000000;16.6600000000000;16.6900000000000;16.7000000000000;16.6200000000000;16.4900000000000;16.3600000000000;16.2600000000000;16.1600000000000;16.0400000000000;15.9200000000000;15.8100000000000;15.7200000000000;15.6200000000000;15.5400000000000;15.5500000000000;15.6700000000000;15.8300000000000;16.1000000000000;16.3900000000000;16.6500000000000;16.8500000000000;16.9500000000000;16.9500000000000;16.8300000000000;16.5800000000000;16.2500000000000;15.9400000000000;15.7100000000000;15.6100000000000;15.6200000000000;15.6900000000000;15.7900000000000;15.9100000000000;16.0700000000000;16.2100000000000;16.3000000000000;16.3200000000000;16.2800000000000;16.2500000000000;16.2500000000000;16.3100000000000;16.4100000000000;16.4900000000000;16.5500000000000;16.5600000000000;16.5100000000000;16.4000000000000;16.2500000000000;16.0700000000000;15.8700000000000;15.6700000000000;15.5300000000000;15.4100000000000;15.3400000000000;15.3500000000000;15.4500000000000;15.6400000000000;15.9000000000000;16.2300000000000;16.5700000000000;16.8300000000000;16.9600000000000;16.9500000000000;16.8700000000000;16.7400000000000;16.5000000000000;16.2000000000000;15.8800000000000;15.5200000000000;15.2200000000000;15.0300000000000;14.9900000000000;15.0600000000000;15.2800000000000;15.6100000000000;16.0500000000000;16.5100000000000;16.9300000000000;17.2000000000000;17.2900000000000;17.2700000000000;17.1300000000000;16.8900000000000;16.5500000000000;16.1500000000000;15.7500000000000;15.4100000000000;15.2100000000000;15.1400000000000;15.2200000000000;15.4300000000000;15.7600000000000;16.1000000000000;16.4500000000000;16.7500000000000;16.9800000000000;17.1000000000000;17.1100000000000;17.0500000000000;16.9300000000000;16.7600000000000;16.5400000000000;16.2900000000000;16.0300000000000;15.7400000000000;15.4800000000000;15.2800000000000;15.1400000000000;15.1500000000000;15.3300000000000;15.6700000000000;16.1400000000000;16.5600000000000;16.8800000000000;17.0800000000000;17.1600000000000;17.1600000000000;17.0300000000000;16.7900000000000;16.4700000000000;16.1300000000000;15.8100000000000;15.5400000000000;15.3800000000000;15.3000000000000;15.3400000000000;15.4300000000000;15.6200000000000;15.8400000000000;16.1000000000000;16.3400000000000;16.5100000000000;16.6400000000000;16.7300000000000;16.7500000000000;16.7300000000000;16.6200000000000;16.4700000000000;16.3200000000000;16.1600000000000;16.0100000000000;15.9000000000000;15.8100000000000;15.7700000000000;15.7900000000000;15.8600000000000;15.9900000000000;16.1500000000000;16.2900000000000;16.3600000000000;16.3900000000000;16.3800000000000;16.3000000000000;16.1700000000000;16.0200000000000;15.9300000000000;15.9400000000000;16.0700000000000;16.2400000000000;16.3600000000000;16.4700000000000;16.5800000000000;16.6100000000000;16.5600000000000;16.4700000000000;16.3400000000000;16.1900000000000;16;15.8300000000000;15.7400000000000;15.6800000000000;15.7000000000000;15.8100000000000;16.0200000000000;16.2800000000000;16.5200000000000;16.7100000000000;16.8200000000000;16.8300000000000;16.7500000000000;16.6200000000000;16.4700000000000;16.2900000000000;16.0900000000000;15.9500000000000;15.8200000000000;15.7500000000000;15.7300000000000;15.7600000000000;15.8400000000000;15.9400000000000;16.0700000000000;16.1700000000000;16.2600000000000;16.3600000000000;16.4300000000000;16.4700000000000;16.4800000000000;16.4400000000000;16.3500000000000;16.2300000000000;16.1400000000000;16.0300000000000;15.9400000000000;15.8800000000000;15.8100000000000;15.7900000000000;15.8300000000000;15.9200000000000;16.0100000000000;16.1100000000000;16.2000000000000;16.2500000000000;16.2700000000000;16.2600000000000;16.2500000000000;16.2800000000000;16.3100000000000;16.3500000000000;16.4000000000000;16.4300000000000;16.4000000000000;16.3400000000000;16.2700000000000;16.1600000000000;16.0700000000000;15.9400000000000;15.8600000000000;15.8300000000000;15.8700000000000;15.9500000000000;16.0600000000000;16.1300000000000;16.2100000000000;16.3100000000000;16.3900000000000;16.4400000000000;16.4700000000000;16.4600000000000;16.4400000000000;16.4200000000000;16.3700000000000;16.3300000000000;16.2500000000000;16.1400000000000;16.0200000000000;15.9100000000000;15.8100000000000;15.7200000000000;15.6800000000000;15.7700000000000;15.9000000000000;16.0200000000000;16.1200000000000;16.2700000000000;16.4400000000000;16.5100000000000;16.5100000000000;16.4700000000000;16.4600000000000;16.3800000000000;16.2300000000000;16.0600000000000;15.9000000000000;15.8100000000000;15.7900000000000;15.8200000000000;15.9600000000000;16.1700000000000;16.3700000000000;16.4900000000000;16.5200000000000;16.5200000000000;16.4700000000000;16.3000000000000;16.0500000000000;15.8100000000000;15.6600000000000;15.5900000000000;15.6900000000000;15.9200000000000;16.1800000000000;16.4300000000000;16.5700000000000;16.6300000000000;16.6500000000000;16.6000000000000;16.4600000000000;16.2700000000000;16.1000000000000;15.9900000000000;15.9300000000000;15.9100000000000;15.9400000000000;15.9700000000000;16.0500000000000;16.1100000000000;16.1800000000000;16.2500000000000;16.3400000000000;16.4300000000000;16.4800000000000;16.5100000000000;16.5400000000000;16.5800000000000;16.5500000000000;16.4700000000000;16.3900000000000;16.3100000000000;16.2100000000000;16.0700000000000;15.9200000000000;15.9000000000000;15.9600000000000;16.0700000000000;16.1400000000000;16.2100000000000;16.2800000000000;16.3500000000000;16.3900000000000;16.3800000000000;16.3400000000000;16.3100000000000;16.2800000000000;16.2200000000000;16.1800000000000;16.1700000000000;16.1400000000000;16.1300000000000;16.1500000000000;16.2000000000000;16.2900000000000;16.3600000000000;16.3800000000000;16.3800000000000;16.3500000000000;16.2500000000000;16.0700000000000;15.8500000000000;15.6500000000000;15.5400000000000;15.6300000000000;15.9200000000000;16.3300000000000;16.7000000000000;16.9300000000000;17;16.9500000000000;16.8400000000000;16.7100000000000;16.4700000000000;16.1000000000000;15.6600000000000;15.2900000000000;15.1500000000000;15.2700000000000;15.5800000000000;15.9300000000000;16.2000000000000;16.3800000000000;16.5900000000000;16.8000000000000;17;17.1300000000000;17.1300000000000;17.0400000000000;16.9200000000000;16.7100000000000;16.4000000000000;16.0200000000000;15.6400000000000;15.2700000000000;15.0100000000000;14.9100000000000;15.0300000000000;15.3500000000000;15.7900000000000;16.2500000000000;16.7000000000000;17.0300000000000;17.2200000000000;17.2700000000000;17.1600000000000;16.9600000000000;16.6800000000000;16.3600000000000;16.0200000000000;15.6900000000000;15.4000000000000;15.1700000000000;15.0400000000000;15.0600000000000;15.2100000000000;15.5200000000000;15.9500000000000;16.4000000000000;16.7500000000000;16.9400000000000;16.9800000000000;16.9000000000000;16.7400000000000;16.5000000000000;16.1900000000000;15.9400000000000;15.7200000000000;15.5400000000000;15.4700000000000;15.4900000000000;15.6100000000000;15.7900000000000;16.0100000000000;16.2400000000000;16.4600000000000;16.6500000000000;16.7400000000000;16.7500000000000;16.7000000000000;16.5700000000000;16.3700000000000;16.1700000000000;15.9700000000000;15.8100000000000;15.7300000000000;15.7000000000000;15.7400000000000;15.8100000000000;15.9400000000000;16.1100000000000;16.3300000000000;16.5400000000000;16.7400000000000;16.8700000000000;16.8800000000000;16.8000000000000;16.6400000000000;16.4100000000000;16.1400000000000;15.8500000000000;15.6000000000000;15.4200000000000;15.4200000000000;15.5800000000000;15.8700000000000;16.1900000000000;16.4700000000000;16.7200000000000;16.8700000000000;16.9400000000000;16.8900000000000;16.8000000000000;16.6200000000000;16.4000000000000;16.1400000000000;15.8800000000000;15.6200000000000;15.4000000000000;15.2300000000000;15.1800000000000;15.2800000000000;15.5600000000000;15.9700000000000;16.4700000000000;16.9100000000000;17.2200000000000;17.3900000000000;17.3800000000000;17.2400000000000;16.9500000000000;16.5500000000000;16.0700000000000;15.5600000000000;15.1400000000000;14.8200000000000;14.6100000000000;14.6100000000000;14.7900000000000;15.1800000000000;15.7300000000000;16.3600000000000;16.9300000000000;17.3500000000000;17.6300000000000;17.7900000000000;17.7200000000000;17.3400000000000;16.6300000000000;15.8000000000000;15.0900000000000;14.6100000000000;14.4700000000000;14.5800000000000;14.8900000000000;15.3300000000000;15.7900000000000;16.2100000000000;16.5600000000000;16.7800000000000;16.9000000000000;16.9100000000000;16.7900000000000;16.5800000000000;16.3400000000000;16.1300000000000;16.0200000000000;16.0100000000000;16.0600000000000;16.1200000000000;16.2000000000000;16.2300000000000;16.2300000000000;16.1800000000000;16.1200000000000;16.0500000000000;15.9600000000000;15.9300000000000;16.0200000000000;16.2000000000000;16.4200000000000;16.6000000000000;16.7300000000000;16.8000000000000;16.8000000000000;16.7400000000000;16.6300000000000;16.4700000000000;16.2700000000000;16.0300000000000;15.8000000000000;15.6500000000000;15.6000000000000;15.6800000000000;15.8500000000000;16.0600000000000;16.2300000000000;16.3700000000000;16.5100000000000;16.6400000000000;16.7000000000000;16.6900000000000;16.6300000000000;16.5600000000000;16.4700000000000;16.4000000000000;16.3100000000000;16.1800000000000;16;15.8100000000000;15.6200000000000;15.4600000000000;15.3600000000000;15.3700000000000;15.5400000000000;15.8700000000000;16.2800000000000;16.6400000000000;16.9300000000000;17.1300000000000;17.2500000000000;17.2200000000000;17.1100000000000;16.8800000000000;16.5600000000000;16.1400000000000;15.6800000000000;15.2600000000000;14.9300000000000;14.7500000000000;14.7900000000000;15.1200000000000;15.6700000000000;16.3000000000000;16.8200000000000;17.1100000000000;17.2000000000000;17.1800000000000;17.0900000000000;16.8700000000000;16.4600000000000;15.9500000000000;15.4500000000000;15.1000000000000;14.9900000000000;15.1100000000000;15.3600000000000;15.6900000000000;16.0500000000000;16.3300000000000;16.5400000000000;16.7100000000000;16.8000000000000;16.7400000000000;16.5500000000000;16.2800000000000;15.9700000000000;15.6900000000000;15.5400000000000;15.4600000000000;15.4800000000000;15.5500000000000;15.6900000000000;15.8700000000000;16.0700000000000;16.2700000000000;16.4800000000000;16.6900000000000;16.7500000000000;16.6800000000000;16.4900000000000;16.2500000000000;15.9800000000000;15.7700000000000;15.6900000000000;15.7600000000000;15.9300000000000;16.1500000000000;16.3300000000000;16.4000000000000;16.4000000000000;16.3700000000000;16.3100000000000;16.1200000000000;15.8300000000000;15.5400000000000;15.4200000000000;15.4600000000000;15.6400000000000;15.9700000000000;16.4200000000000;16.8100000000000;17.0600000000000;17.1600000000000;17.1200000000000;17;16.8400000000000;16.5900000000000;16.2300000000000;15.7900000000000;15.3200000000000;15.0100000000000;14.9200000000000;15.0700000000000;15.3600000000000;15.7300000000000;16.1800000000000;16.6400000000000;17.0100000000000;17.2900000000000;17.4000000000000;17.3500000000000;17.1700000000000;16.9000000000000;16.5400000000000;16.1200000000000;15.7000000000000;15.3500000000000;15.1200000000000;15.0300000000000;15.1000000000000;15.3200000000000;15.6700000000000;16.0500000000000;16.4200000000000;16.7100000000000;16.8500000000000;16.8700000000000;16.8000000000000;16.6400000000000;16.4400000000000;16.2300000000000;16.0500000000000;15.9100000000000;15.8200000000000;15.8100000000000;15.8600000000000;15.9800000000000;16.1100000000000;16.2300000000000;16.3600000000000;16.4700000000000;16.5100000000000;16.4200000000000;16.2600000000000;16.1100000000000;15.9600000000000;15.8100000000000;15.6900000000000;15.6700000000000;15.7800000000000;15.9800000000000;16.2100000000000;16.4500000000000;16.6600000000000;16.8200000000000;16.8700000000000;16.7900000000000;16.6200000000000;16.4200000000000;16.1500000000000;15.8300000000000;15.5800000000000;15.4700000000000;15.5100000000000;15.6400000000000;15.8000000000000;15.9700000000000;16.2000000000000;16.4400000000000;16.6800000000000;16.8500000000000;16.9600000000000;16.9300000000000;16.7800000000000;16.5400000000000;16.2400000000000;15.9500000000000;15.7100000000000;15.5200000000000;15.3700000000000;15.3300000000000;15.3900000000000;15.5100000000000;15.6700000000000;15.9400000000000;16.4000000000000;16.9600000000000;17.3900000000000;17.4200000000000;17.1300000000000;16.6700000000000;16.2300000000000;15.8800000000000;15.6000000000000;15.4000000000000;15.2700000000000;15.2400000000000;15.2800000000000;15.4700000000000;15.7800000000000;16.0800000000000;16.3600000000000;16.6000000000000;16.7400000000000;16.7600000000000;16.6700000000000;16.5500000000000;16.4900000000000;16.4500000000000;16.3500000000000;16.2500000000000;16.2000000000000;16.1300000000000;16.0400000000000;15.9300000000000;15.8200000000000;15.7500000000000;15.6900000000000;15.6900000000000;15.7500000000000;15.8300000000000;15.9600000000000;16.1200000000000;16.3100000000000;16.4700000000000;16.6100000000000;16.7500000000000;16.8300000000000;16.8000000000000;16.6800000000000;16.4800000000000;16.2400000000000;15.9900000000000;15.7700000000000;15.6000000000000;15.5000000000000;15.5400000000000;15.6900000000000;15.9200000000000;16.1900000000000;16.4300000000000;16.6000000000000;16.7100000000000;16.7400000000000;16.7200000000000;16.6600000000000;16.5700000000000;16.4800000000000;16.4100000000000;16.3400000000000;16.2500000000000;16.1600000000000;16.0700000000000;15.9900000000000;15.9900000000000;16.0600000000000;16.2000000000000;16.3700000000000;16.4800000000000;16.5400000000000;16.5300000000000;16.5100000000000;16.4600000000000;16.3700000000000;16.2300000000000;16.0900000000000;16.0300000000000;16.0700000000000;16.1900000000000;16.3400000000000;16.4500000000000;16.4400000000000;16.3700000000000;16.3500000000000;16.3500000000000;16.3400000000000;16.2500000000000;16.1400000000000;16.0200000000000;15.8900000000000;15.7900000000000;15.7100000000000;15.6400000000000;15.6600000000000;15.8100000000000;16.0800000000000;16.3700000000000;16.6200000000000;16.8400000000000;17;17.0400000000000;16.9600000000000;16.7400000000000;16.4300000000000;16.0300000000000;15.6000000000000;15.2500000000000;15.0100000000000;14.9100000000000;15;15.2700000000000;15.7000000000000;16.2100000000000;16.7200000000000;17.0700000000000;17.2600000000000;17.2800000000000;17.2300000000000;17.0500000000000;16.6900000000000;16.1000000000000;15.4800000000000;14.9900000000000;14.7600000000000;14.8400000000000;15.1600000000000;15.6000000000000;16.0600000000000;16.3900000000000;16.6100000000000;16.7600000000000;16.8500000000000;16.8600000000000;16.7400000000000;16.5100000000000;16.2300000000000;15.9700000000000;15.8100000000000;15.7300000000000;15.7500000000000;15.8500000000000;15.9700000000000;16.1000000000000;16.2000000000000;16.2800000000000;16.3400000000000;16.3500000000000;16.3100000000000;16.2100000000000;16.1300000000000;16.0500000000000;15.9500000000000;15.8700000000000;15.8100000000000;15.7700000000000;15.7900000000000;15.8800000000000;16.0700000000000;16.3100000000000;16.5100000000000;16.6500000000000;16.7800000000000;16.8700000000000;16.8700000000000;16.7800000000000;16.5300000000000;16.1400000000000;15.7200000000000;15.3900000000000;15.1900000000000;15.1400000000000;15.2400000000000;15.5400000000000;16.0200000000000;16.4900000000000;16.8000000000000;16.9800000000000;17.1100000000000;17.1800000000000;17.0900000000000;16.8100000000000;16.4300000000000;16.0400000000000;15.7100000000000;15.5500000000000;15.5800000000000;15.7100000000000;15.9000000000000;16.0700000000000;16.2200000000000;16.3600000000000;16.4500000000000;16.4800000000000;16.4800000000000;16.4700000000000;16.4400000000000;16.4000000000000;16.3700000000000;16.3400000000000;16.2800000000000;16.1900000000000;16.0900000000000;16.0200000000000;15.9500000000000;15.9400000000000;15.9700000000000;16.0700000000000;16.2000000000000;16.3400000000000;16.3900000000000;16.3700000000000;16.3200000000000;16.2200000000000;16.1100000000000;15.9900000000000;15.9000000000000;15.8200000000000;15.8400000000000;15.9300000000000;16.0800000000000;16.2700000000000;16.4300000000000;16.5200000000000;16.5200000000000;16.4500000000000;16.3100000000000;16.1000000000000;15.8500000000000;15.6400000000000;15.5000000000000;15.4600000000000;15.5600000000000;15.7800000000000;16.0700000000000;16.3500000000000;16.6000000000000;16.7700000000000;16.8500000000000;16.8300000000000;16.7500000000000;16.5900000000000;16.3700000000000;16.1400000000000;15.8600000000000;15.6300000000000;15.4300000000000;15.3300000000000;15.3600000000000;15.5000000000000;15.7300000000000;16.0300000000000;16.3200000000000;16.5300000000000;16.6900000000000;16.7700000000000;16.7900000000000;16.7400000000000;15.5200000000000];
SSS=mean(a);
Water_level_change = a-SSS;
time=[0;0.500000000000000;1;1.50000000000000;2;2.50000000000000;3;3.50000000000000;4;4.50000000000000;5;5.50000000000000;6;6.50000000000000;7;7.50000000000000;8;8.50000000000000;9;9.50000000000000;10;10.5000000000000;11;11.5000000000000;12;12.5000000000000;13;13.5000000000000;14;14.5000000000000;15;15.5000000000000;16;16.5000000000000;17;17.5000000000000;18;18.5000000000000;19;19.5000000000000;20;20.5000000000000;21;21.5000000000000;22;22.5000000000000;23;23.5000000000000;24;24.5000000000000;25;25.5000000000000;26;26.5000000000000;27;27.5000000000000;28;28.5000000000000;29;29.5000000000000;30;30.5000000000000;31;31.5000000000000;32;32.5000000000000;33;33.5000000000000;34;34.5000000000000;35;35.5000000000000;36;36.5000000000000;37;37.5000000000000;38;38.5000000000000;39;39.5000000000000;40;40.5000000000000;41;41.5000000000000;42;42.5000000000000;43;43.5000000000000;44;44.5000000000000;45;45.5000000000000;46;46.5000000000000;47;47.5000000000000;48;48.5000000000000;49;49.5000000000000;50;50.5000000000000;51;51.5000000000000;52;52.5000000000000;53;53.5000000000000;54;54.5000000000000;55;55.5000000000000;56;56.5000000000000;57;57.5000000000000;58;58.5000000000000;59;59.5000000000000;60;60.5000000000000;61;61.5000000000000;62;62.5000000000000;63;63.5000000000000;64;64.5000000000000;65;65.5000000000000;66;66.5000000000000;67;67.5000000000000;68;68.5000000000000;69;69.5000000000000;70;70.5000000000000;71;71.5000000000000;72;72.5000000000000;73;73.5000000000000;74;74.5000000000000;75;75.5000000000000;76;76.5000000000000;77;77.5000000000000;78;78.5000000000000;79;79.5000000000000;80;80.5000000000000;81;81.5000000000000;82;82.5000000000000;83;83.5000000000000;84;84.5000000000000;85;85.5000000000000;86;86.5000000000000;87;87.5000000000000;88;88.5000000000000;89;89.5000000000000;90;90.5000000000000;91;91.5000000000000;92;92.5000000000000;93;93.5000000000000;94;94.5000000000000;95;95.5000000000000;96;96.5000000000000;97;97.5000000000000;98;98.5000000000000;99;99.5000000000000;100;100.500000000000;101;101.500000000000;102;102.500000000000;103;103.500000000000;104;104.500000000000;105;105.500000000000;106;106.500000000000;107;107.500000000000;108;108.500000000000;109;109.500000000000;110;110.500000000000;111;111.500000000000;112;112.500000000000;113;113.500000000000;114;114.500000000000;115;115.500000000000;116;116.500000000000;117;117.500000000000;118;118.500000000000;119;119.500000000000;120;120.500000000000;121;121.500000000000;122;122.500000000000;123;123.500000000000;124;124.500000000000;125;125.500000000000;126;126.500000000000;127;127.500000000000;128;128.500000000000;129;129.500000000000;130;130.500000000000;131;131.500000000000;132;132.500000000000;133;133.500000000000;134;134.500000000000;135;135.500000000000;136;136.500000000000;137;137.500000000000;138;138.500000000000;139;139.500000000000;140;140.500000000000;141;141.500000000000;142;142.500000000000;143;143.500000000000;144;144.500000000000;145;145.500000000000;146;146.500000000000;147;147.500000000000;148;148.500000000000;149;149.500000000000;150;150.500000000000;151;151.500000000000;152;152.500000000000;153;153.500000000000;154;154.500000000000;155;155.500000000000;156;156.500000000000;157;157.500000000000;158;158.500000000000;159;159.500000000000;160;160.500000000000;161;161.500000000000;162;162.500000000000;163;163.500000000000;164;164.500000000000;165;165.500000000000;166;166.500000000000;167;167.500000000000;168;168.500000000000;169;169.500000000000;170;170.500000000000;171;171.500000000000;172;172.500000000000;173;173.500000000000;174;174.500000000000;175;175.500000000000;176;176.500000000000;177;177.500000000000;178;178.500000000000;179;179.500000000000;180;180.500000000000;181;181.500000000000;182;182.500000000000;183;183.500000000000;184;184.500000000000;185;185.500000000000;186;186.500000000000;187;187.500000000000;188;188.500000000000;189;189.500000000000;190;190.500000000000;191;191.500000000000;192;192.500000000000;193;193.500000000000;194;194.500000000000;195;195.500000000000;196;196.500000000000;197;197.500000000000;198;198.500000000000;199;199.500000000000;200;200.500000000000;201;201.500000000000;202;202.500000000000;203;203.500000000000;204;204.500000000000;205;205.500000000000;206;206.500000000000;207;207.500000000000;208;208.500000000000;209;209.500000000000;210;210.500000000000;211;211.500000000000;212;212.500000000000;213;213.500000000000;214;214.500000000000;215;215.500000000000;216;216.500000000000;217;217.500000000000;218;218.500000000000;219;219.500000000000;220;220.500000000000;221;221.500000000000;222;222.500000000000;223;223.500000000000;224;224.500000000000;225;225.500000000000;226;226.500000000000;227;227.500000000000;228;228.500000000000;229;229.500000000000;230;230.500000000000;231;231.500000000000;232;232.500000000000;233;233.500000000000;234;234.500000000000;235;235.500000000000;236;236.500000000000;237;237.500000000000;238;238.500000000000;239;239.500000000000;240;240.500000000000;241;241.500000000000;242;242.500000000000;243;243.500000000000;244;244.500000000000;245;245.500000000000;246;246.500000000000;247;247.500000000000;248;248.500000000000;249;249.500000000000;250;250.500000000000;251;251.500000000000;252;252.500000000000;253;253.500000000000;254;254.500000000000;255;255.500000000000;256;256.500000000000;257;257.500000000000;258;258.500000000000;259;259.500000000000;260;260.500000000000;261;261.500000000000;262;262.500000000000;263;263.500000000000;264;264.500000000000;265;265.500000000000;266;266.500000000000;267;267.500000000000;268;268.500000000000;269;269.500000000000;270;270.500000000000;271;271.500000000000;272;272.500000000000;273;273.500000000000;274;274.500000000000;275;275.500000000000;276;276.500000000000;277;277.500000000000;278;278.500000000000;279;279.500000000000;280;280.500000000000;281;281.500000000000;282;282.500000000000;283;283.500000000000;284;284.500000000000;285;285.500000000000;286;286.500000000000;287;287.500000000000;288;288.500000000000;289;289.500000000000;290;290.500000000000;291;291.500000000000;292;292.500000000000;293;293.500000000000;294;294.500000000000;295;295.500000000000;296;296.500000000000;297;297.500000000000;298;298.500000000000;299;299.500000000000;300;300.500000000000;301;301.500000000000;302;302.500000000000;303;303.500000000000;304;304.500000000000;305;305.500000000000;306;306.500000000000;307;307.500000000000;308;308.500000000000;309;309.500000000000;310;310.500000000000;311;311.500000000000;312;312.500000000000;313;313.500000000000;314;314.500000000000;315;315.500000000000;316;316.500000000000;317;317.500000000000;318;318.500000000000;319;319.500000000000;320;320.500000000000;321;321.500000000000;322;322.500000000000;323;323.500000000000;324;324.500000000000;325;325.500000000000;326;326.500000000000;327;327.500000000000;328;328.500000000000;329;329.500000000000;330;330.500000000000;331;331.500000000000;332;332.500000000000;333;333.500000000000;334;334.500000000000;335;335.500000000000;336;336.500000000000;337;337.500000000000;338;338.500000000000;339;339.500000000000;340;340.500000000000;341;341.500000000000;342;342.500000000000;343;343.500000000000;344;344.500000000000;345;345.500000000000;346;346.500000000000;347;347.500000000000;348;348.500000000000;349;349.500000000000;350;350.500000000000;351;351.500000000000;352;352.500000000000;353;353.500000000000;354;354.500000000000;355;355.500000000000;356;356.500000000000;357;357.500000000000;358;358.500000000000;359;359.500000000000;360;360.500000000000;361;361.500000000000;362;362.500000000000;363;363.500000000000;364;364.500000000000;365;365.500000000000;366;366.500000000000;367;367.500000000000;368;368.500000000000;369;369.500000000000;370;370.500000000000;371;371.500000000000;372;372.500000000000;373;373.500000000000;374;374.500000000000;375;375.500000000000;376;376.500000000000;377;377.500000000000;378;378.500000000000;379;379.500000000000;380;380.500000000000;381;381.500000000000;382;382.500000000000;383;383.500000000000;384;384.500000000000;385;385.500000000000;386;386.500000000000;387;387.500000000000;388;388.500000000000;389;389.500000000000;390;390.500000000000;391;391.500000000000;392;392.500000000000;393;393.500000000000;394;394.500000000000;395;395.500000000000;396;396.500000000000;397;397.500000000000;398;398.500000000000;399;399.500000000000;400;400.500000000000;401;401.500000000000;402;402.500000000000;403;403.500000000000;404;404.500000000000;405;405.500000000000;406;406.500000000000;407;407.500000000000;408;408.500000000000;409;409.500000000000;410;410.500000000000;411;411.500000000000;412;412.500000000000;413;413.500000000000;414;414.500000000000;415;415.500000000000;416;416.500000000000;417;417.500000000000;418;418.500000000000;419;419.500000000000;420;420.500000000000;421;421.500000000000;422;422.500000000000;423;423.500000000000;424;424.500000000000;425;425.500000000000;426;426.500000000000;427;427.500000000000;428;428.500000000000;429;429.500000000000;430;430.500000000000;431;431.500000000000;432;432.500000000000;433;433.500000000000;434;434.500000000000;435;435.500000000000;436;436.500000000000;437;437.500000000000;438;438.500000000000;439;439.500000000000;440;440.500000000000;441;441.500000000000;442;442.500000000000;443;443.500000000000;444;444.500000000000;445;445.500000000000;446;446.500000000000;447;447.500000000000;448;448.500000000000;449;449.500000000000;450;450.500000000000;451;451.500000000000;452;452.500000000000;453;453.500000000000;454;454.500000000000;455;455.500000000000;456;456.500000000000;457;457.500000000000;458;458.500000000000;459;459.500000000000;460;460.500000000000;461;461.500000000000;462;462.500000000000;463;463.500000000000;464;464.500000000000;465;465.500000000000;466;466.500000000000;467;467.500000000000;468;468.500000000000;469;469.500000000000;470;470.500000000000;471;471.500000000000;472;472.500000000000;473;473.500000000000;474;474.500000000000;475;475.500000000000;476;476.500000000000;477;477.500000000000;478;478.500000000000;479;479.500000000000;480;480.500000000000;481;481.500000000000;482;482.500000000000;483;483.500000000000;484;484.500000000000;485;485.500000000000;486;486.500000000000;487;487.500000000000;488;488.500000000000;489;489.500000000000;490;490.500000000000;491;491.500000000000;492;492.500000000000;493;493.500000000000;494;494.500000000000;495;495.500000000000;496;496.500000000000;497;497.500000000000;498;498.500000000000;499;499.500000000000;500;500.500000000000;501;501.500000000000;502;502.500000000000;503;503.500000000000;504;504.500000000000;505;505.500000000000;506;506.500000000000;507;507.500000000000;508;508.500000000000;509;509.500000000000;510;510.500000000000;511;511.500000000000;512;512.500000000000;513;513.500000000000;514;514.500000000000;515;515.500000000000;516;516.500000000000;517;517.500000000000;518;518.500000000000;519;519.500000000000;520;520.500000000000;521;521.500000000000;522;522.500000000000;523;523.500000000000;524;524.500000000000;525;525.500000000000;526;526.500000000000;527;527.500000000000;528;528.500000000000;529;529.500000000000;530;530.500000000000;531;531.500000000000;532;532.500000000000;533;533.500000000000;534;534.500000000000;535;535.500000000000;536;536.500000000000;537;537.500000000000;538;538.500000000000;539;539.500000000000;540;540.500000000000;541;541.500000000000;542;542.500000000000;543;543.500000000000;544;544.500000000000;545;545.500000000000;546;546.500000000000;547;547.500000000000;548;548.500000000000;549;549.500000000000;550;550.500000000000;551;551.500000000000;552;552.500000000000;553;553.500000000000;554;554.500000000000;555;555.500000000000;556;556.500000000000;557;557.500000000000;558;558.500000000000;559;559.500000000000;560;560.500000000000;561;561.500000000000;562;562.500000000000;563;563.500000000000;564;564.500000000000;565;565.500000000000;566;566.500000000000;567;567.500000000000;568;568.500000000000;569;569.500000000000;570;570.500000000000;571;571.500000000000;572;572.500000000000;573;573.500000000000;574;574.500000000000;575;575.500000000000;576;576.500000000000;577;577.500000000000;578;578.500000000000;579;579.500000000000;580;580.500000000000;581;581.500000000000;582;582.500000000000;583;583.500000000000;584;584.500000000000;585;585.500000000000;586;586.500000000000;587;587.500000000000;588;588.500000000000;589;589.500000000000;590;590.500000000000;591;591.500000000000;592;592.500000000000;593;593.500000000000;594;594.500000000000;595;595.500000000000;596;596.500000000000;597;597.500000000000;598;598.500000000000;599;599.500000000000;600];
plot(time,Water_level_change)
set(gca,'Xtick',0:20:600)
set(gca,'Ytick',-2:0.25:2)
hold on
yline(0)
grid on
Here i want to obtain the x values where the graph intersects y=0 line?
I am a newbie user on matlab.I would really appriciate an explained answer.Thank You.

Best Answer

hello
see demo and function attached
enjoy !