photo

Adriano


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


Code shows matrix is singular to working precision. How can I fix it?
x=[-2 0 1 2 3] y=[2.5,1,2.5,5.7,11.6] A=[x.^0 x.^2] alin=A'*A\A'*log(y) a=[exp(alin(1));alin(2)] r=a(1)*exp(a(2)*x.^2)-y R...

1 year ago | 1 answer | 0

1

answer