<div dir="ltr"><div><div>Hi,<br><br></div>I am getting above mentioned for the text colored in red<br></div>Thank you<br><div><br>*******************************************************************<br><div><div><br>;Now extracting indices for year with 52 weeks<br><br>year_52=ispan(1967,2013,1)<br>year_53=(/1968,1973,1979,1984,1990,1996,2001,2007,2012/)<br>;print(dimsizes(year_53))<br><br>t=dimsizes(year_52)-dimsizes(year_53)<br><br>;print(t)<br><br><br><br>;Find the indices where the two matrices have same value<br><br>week_same=new(9,&quot;integer&quot;)<br>week_52=new(38,&quot;integer&quot;)<br><br>do i=0,9-1<br><br>week_53=year_53(i)<br>week_same(i)=ind(year_52.eq.week_53)<br><span style="color:rgb(255,0,0)">week_52(46-i)=year_52(ind(year_52.ne.week_same)) ;</span> This is to get the years which are not equal to years with 53 weeks<br>end d<br></div></div></div></div>