[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not able to get the matlab equivalent output from tfestimate functio
From: |
sarbjit |
Subject: |
Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate) |
Date: |
Thu, 14 Feb 2013 22:19:45 -0800 (PST) |
Sorry to bother you again, but below is my observation :
If I used the position of arguments of tfestimate as suggested, the size of
the matrixes are same as Matlab, but their values are different.
octave-3.6.2.exe:5> [txy, W] = tfestimate (x, y, [], [], 10);
octave-3.6.2.exe:6> size(txy)
ans =
129 1
octave-3.6.2.exe:7> max(txy)
ans = 1.0000e+000 + 6.1828e-011i
octave-3.6.2.exe:8> max(txy_matlab)
ans = 1.00000
octave-3.6.2.exe:9> max(W)
ans = 0.50000
octave-3.6.2.exe:10> max(W_matlab)
ans = 3.1416
After mulitplying the values of W by 2*pi, I got the similar results as that
of Matlab for W.
octave-3.6.2.exe:11> W1 = W*2*pi;
octave-3.6.2.exe:12> max(W1)
ans = 3.1400
If I plot the results using the commands mentioned below, plot is still
different.
plot(W1,abs(txy))
plot(W1, log10(txy))
Am i still missing some step?
Thanks
Sarbjit
--
View this message in context:
http://octave.1599824.n4.nabble.com/Not-able-to-get-the-matlab-equivalent-output-from-tfestimate-function-transfer-function-estimate-tp4649707p4649880.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/10
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Carnë Draug, 2013/02/10
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/14
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Mike Miller, 2013/02/14
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/14
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Mike Miller, 2013/02/14
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/14
- Message not available
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Mike Miller, 2013/02/14
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate),
sarbjit <=
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Mike Miller, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Mike Miller, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Doug Stewart, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), Mike Miller, 2013/02/15
- Re: Not able to get the matlab equivalent output from tfestimate function (transfer function estimate), sarbjit, 2013/02/15