Recent content by snipertje

  1. S

    What to do with variances in a covariance matrix?

    This is exactly what I wanted to know, thanks a lot. I'm pretty sure that it indeed is the Hessian which the method uses, but the subroutine I use inverts it when you tell it to stop, so I get precisely what you say here. Cheers
  2. S

    What to do with variances in a covariance matrix?

    The data I have is the time differences of a measured pulse from a pulsar due to the radial velocity caused by a planet, the times at which this is measured and the errors of the measurement. From theory follows this formula ΔT=a1+a2*sin(a3*t+a4) (note: ΔT and t are independent). I use the...
  3. S

    What to do with variances in a covariance matrix?

    How to get a covariance matrix is well defined, but I don't really know how to use it once obtained. I'm trying to find the best parameters for a data set with a given function. I'm having four parameters a1,a2,a3,a4 and from these parameters I have the covariance matrix. I'm supposed to get...
  4. S

    What is the minimum pressure the human body can handle?

    You generate heat inside your body as well...
  5. S

    What is the minimum pressure the human body can handle?

    No you don't freeze to death, because despite the low temperature (i'm not even sure if it has to be cold in a near vacuum) there is no matter to exchange heat with, so your body temperature will stay the same.
  6. S

    Subroutine in subroutine argument problem

    Wow, this is really helpful (if it works anyway ;)). It's indeed confusing that I have to name a subroutine funcs, but I'm positive it has to be a subroutine. I will try this out.
  7. S

    Subroutine in subroutine argument problem

    I'm having a problem with the argument of a subroutine which I didn't write myself, but should be working as intended. I'm supposed to write my own subroutine named funcs(a,b,c). Then this subroutine that I got has funcs as one of it's arguments subr(a,b,c,funcs,..) and it says in the...
  8. S

    Fortran Fortran, why do i suddenly get new errors?

    Ok, thanks I think I get it now. As soon as y has a value it's no longer a*cos(t), so by taking the subroutine in the loop, y get's redeclared as a*cos(t) every single loop, after which y can be calculated with a new t again.
  9. S

    Fortran Fortran, why do i suddenly get new errors?

    I have something like this, it's not about wether or not a subroutine is needed, I want to understand how it works. call asd(y,t,a) do i=1,10 t=i test(i)=y end do subroutine asd(y,t,a) y=a*cos(t) end For some reason test(i) gives the same value for every i, whereas the following works as i...
  10. S

    Fortran Fortran, why do i suddenly get new errors?

    Do subroutines return values only? Sorry for the wrong title! I currently have a subroutine which should return y like (the actual formula is a bit more complex): y=cos(t) When i call the subroutine and then make a do-loop to test y for different t, it gives 1 value only. Does the subroutine...
Back
Top