• Non ci sono risultati.

Exercise 10

N/A
N/A
Protected

Academic year: 2021

Condividi "Exercise 10"

Copied!
1
0
0

Testo completo

(1)

      Exercise 10

In  http:://gbm.bo.astro.it/paola/didattica/AA2012­

2013/statistica/data  are stored 2 files (the modified is The version which can be used in IDL).

The original one has been taken from Hyperleda (

http://leda.univ­lyon1.fr/) with the following prescriptions: apparent  B magnitude (btc) available

and radial velocity (vvir) between 2000 and 10 000 km/s.

Write a idl procedure showing the histogram of M_B

(absolute B magnitude) for different morphological types

(Ellipticals, S0s, Sa­Sbc and Sc­Irr), computing mean and standard  deviation and fitting the best gaussian to these data.

To import data from a file   use        E<= ­3

data=fltarr(3,88600)      S0  > ­ 3 & <0

openr,1,'modifiedsample.dat'        Sa­Sbc >= 0 & < 4 readf,1,data      Sc ecc  >= 4

close,1

Riferimenti

Documenti correlati

Exercise [rank 2+2] Provide the motivation of introducing Universal Hashing, with respect to classic hash functions (such as mod, division,…) and an example of family of

Write another function, inverse power, that implements the inverse power method (use “backslash” to solve the linear system), and test it on the matrix used in the previous point

Write another function c = quadratic regression(x,y), similar to the previous one but where a polynomial of degree 2 is used for

[r]

4.  Preliminarmente ai cicli di acquisizione, dovete eseguire l’upload dello sketch curv.ino nella memoria di Arduino utilizzando il programma Arduino (o Arduino IDE) nel computer

For the update of RANKING table, consider that the Time field can assume the same value for two different

The recipient is the student with the highest ranking that satisfies the following requirements: (i) she/he has passed the exam for the course on which the grant is available,

(i) she/he has passed the exam for the course on which the grant is available, and (ii) she/he does not exceed 150 teaching hours overall (including also the new grant). Suppose