MATLAB Answers

0

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

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


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!