MATLAB Answers

I m a basic learner of matlab. Ihave to solve a eq like Tk=(Tk+1)+Td where Td=1.72 by for loop.

Asked by Aradhana kanchan on 23 Nov 2012
Accepted Answer by Matt J

I m looking like Td=1.72; T7=52; for k=6:2 Tk = (Tk+1)+Td; end but Tk and Tk+1 are not defined then I think I can solve it by array Calculations Plz help me as early as possible Plz

  0 Comments

Products

No products are associated with this question.

1 Answer

Matt J
Answer by Matt J
on 23 Nov 2012
Edited by Matt J
on 23 Nov 2012
 Accepted answer

Perhaps you meant this?

T(7)=52;
for k=6:-1:1
   T(k)=T(k+1)+Td; 
end

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today