Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Amleto

  1. Amleto

    image rotation

    cant you just translate the equations to make the rotation point the origin in the new frame? :)
  2. Amleto

    Unable to recreate simple physics/maths paper results

    here is the paper: www.amleto.pwp.blueyonder.co.uk/paper.pdf I am tryng to reproduce figures 2 and 4. my scripts they are quite simple and easy to compare with the paper. They are at the bottom of this post :) I believe the author has put the inital condition sin and cos the wrong way around...
  3. Amleto

    3-D dot product?

    dot product on the rows of A: z.*A(i,:) dot product on the columns of A: z.*A(:,i) If you want to keep z as a row/column vectorI think you will still need to loop, Although you could make a temporary variable that was padded with lots of z's... ztemp=zeros(size(A)) ztemp(1:size(A,1),:)...
  4. Amleto

    solve parallel equations

    hi, thanks a lot for the help. dr(5) is a universal quantity and doesn't depend on the bubbles so maybe I should make this dr(1), and then the start of the bubble quantities would be 2,8,12 etc? Would this require all r(x:5:z) to be changed to r(x:4:z)? I would have thought...
  5. Amleto

    solve parallel equations

    ok, the deal is - I have a few bubbles. They pulsate due to an externally changing applied pressure. The pulsations and the external pressure make the bubbles move, and the following code attempts to model that for two bubbles. function dr = trans1func(t,r) global sPeq sPatm sP0 sPv Re We dk...
  6. Amleto

    solve parallel equations

    I am currently using ode45 but am a bit stuck. What I need to do is basically progress the solution of two instances of the same equation, with different initial conditions, at the same time. I could just write out the equation again in the function but eventually I may be dealing with 50 of...

Part and Inventory Search