Re: [Numpy-discussion] solving matrix

2013-08-10 Thread Sudheer Joseph
ussion of Numerical Python >Sent: Saturday, 10 August 2013 8:56 PM >Subject: Re: [Numpy-discussion] solving matrix > > > >I thought I should add the error I get too. > >From: Sudheer Joseph > >To: "numpy-discussion@scipy.org" >>Sent: Saturday, 10 Au

Re: [Numpy-discussion] solving matrix

2013-08-10 Thread Sudheer Joseph
I thought I should add the error I get too. From: Sudheer Joseph To: "numpy-discussion@scipy.org" >Sent: Saturday, 10 August 2013 8:40 PM >Subject: [Numpy-discussion] solving matrix > > > >Dear Experts, >I am trying to write the below piece of matlab code to a

[Numpy-discussion] solving matrix

2013-08-10 Thread Sudheer Joseph
Dear Experts, I am trying to write the below piece of matlab code to a python script. The objective of the code is to find a fit of annual harmonic to a time series and then remove it from the time series. It uses matlabs E\ts to find the coefficients of harmonic fit, I used linlag.lstsq equival