diff options
author | Puneeth Chaganti | 2010-10-19 14:26:29 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2010-10-19 14:26:29 +0530 |
commit | e2086cf2f39c71e4402b68cd41d184332fc91f04 (patch) | |
tree | d35e01cd96a2aa8799673af485906b754b0527cd /lstsq | |
parent | b8d96b8491fcdf4b3bdd676811fcfb1f188a6644 (diff) | |
download | st-scripts-e2086cf2f39c71e4402b68cd41d184332fc91f04.tar.gz st-scripts-e2086cf2f39c71e4402b68cd41d184332fc91f04.tar.bz2 st-scripts-e2086cf2f39c71e4402b68cd41d184332fc91f04.zip |
Reviewed Least Square Fit LO.
Diffstat (limited to 'lstsq')
-rw-r--r-- | lstsq/script.rst | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/lstsq/script.rst b/lstsq/script.rst index 59f1809..c333a7e 100644 --- a/lstsq/script.rst +++ b/lstsq/script.rst @@ -19,6 +19,9 @@ External Reviewer : Checklist OK? : <put date stamp here, if OK> [2010-10-05] + +.. #[Puneeth: Add pre-requisites.] + Script ------ @@ -43,9 +46,9 @@ pendulum and the second is the corresponding time period of the pendulum. As we know, the square of time period of a pendulum is directly proportional to its length, we shall plot l vs t^2 and verify this. -#[Puneeth:] removed the explanation about loadtxt and unpack - option. It's been done in another LO already. simple dependency - should work? +.. #[Puneeth:] removed the explanation about loadtxt and unpack +.. option. It's been done in another LO already. simple dependency +.. should work? To read the input file and parse the data, we are going to use the loadtxt function. Type @@ -66,8 +69,8 @@ Let us first plot l vs t^2. Type {{{ switch to the plot window }}} -#[Puneeth:] Moved explanation of least square fit here. seems more -apt. +.. #[Puneeth:] Moved explanation of least square fit here. seems more +.. apt. We can see that there is a visible linear trend, but we do not get a straight line connecting them. We shall, therefore, generate a least @@ -132,10 +135,17 @@ we have learnt {{{ Show the "sponsored by FOSSEE" slide }}} -#[Nishanth]: Will add this line after all of us fix on one. -This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India +.. #[Nishanth]: Will add this line after all of us fix on one. +.. This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India Hope you have enjoyed and found it useful. Thank you +.. + Local Variables: + mode: rst + indent-tabs-mode: nil + sentence-end-double-space: nil + fill-column: 75 + End: |