Recent content by manicwhite

  1. M

    Proving Symmetric Tensor Equation: S=[0.5(T+TT)]

    thanks very, you have both been a great help. it easy when you know how. hopefully i do know now and this will stick in my head. the notation i used was my attempt to derive this myself. i actually found the final line"SijTij"quoted in my notes in the end once again thanks very much merry xamss
  2. M

    Proving Symmetric Tensor Equation: S=[0.5(T+TT)]

    Homework Statement S : T = S:[0.5(T+TT)] S is a symetric tensor show for any tensor T the above is valid Homework Equations The Attempt at a Solution what i think i know ST=S S:T=tr[STT] =tr[ST] einstein notation tr[SijTjk] [SijTjk]ii but i can't really see this leading to...
  3. M

    Matlab code but i'm having problems puting in a loop

    for i=1:10 name=['p',int2str(i),'t4a'] eval(['track', int2str(i) '=p',int2str(i),'t4a(:,31)']) end ok i have a working loop. i am happy. if you have a better solution to the problem please still post
  4. M

    Matlab code but i'm having problems puting in a loop

    i think i already mentioned something similar to this for i=1:10 name=['p',int2str(i),'t4a'] track(:,i)=eval(['p',int2str(i),'t4a(:,31)']) end the first one runs then i get an error saying ? Subscripted assignment dimension mismatch. Error in ==> test4compare at 14...
  5. M

    Matlab code but i'm having problems puting in a loop

    tried this %track(:,1)=p1t4a(:,31);% this line checks it can work works for i=1:10 name=['p',int2str(i),'t4a'] track(:,i)=name(:,31) end got this error ? Index exceeds matrix dimensions. Error in ==> test4compare at 14 track(:,i)=name(:,31)
  6. M

    Matlab code but i'm having problems puting in a loop

    Hi. i have seen similar questions on here but can't quite get them to apply to my problem i have wrote some MATLAB code but I'm having problems puting in a loop heres my code ----------------------------------------------------------------------------------------- clear clc for...
Back
Top