Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Search results for query: *

  1. andykol

    Combining arrays to matrix

    Hello, Currently I have two single dimension array. I am interested to know if I can modify program by combining them giving same result. E.g. A(X), B(Y) used for M=P*A(1)+Q*B(2) Proposed- A(X,Y) used for M=P*A(1,Y)+Q*B(X,2) where A(1,Y)=A(1), B(X,2)=B(2) Is it possible to do like this? if...
  2. andykol

    Projecting distance for Unit Vector

    Hello, I am calculating Unit vector for non orthogonal Cartesian grid. To calculate Unit Vector I need to project eg. y and x distance of east face of cell on i and j axis resp. I am using following formula- Unit vector= Ue Surface area= Se=sqrt(dx2+dy2) Ue=(dy/se)i-(dx/se)j Can anybody please...
  3. andykol

    Calculating unit vector for velocity

    Hello, I am trying to calculate unit vector for velocity (vel= (U*Unit vector)/unit vector). But if I consider calculation by angle change e.g. unit vector= cos(theta) at certain angle velocity becomes infinity. Please inform me if I can calculate unit vector with other method. Thanks in advance.

Part and Inventory Search

Back
Top