recalling the values as a row matrix

3 views (last 30 days)
Offroad Jeep
Offroad Jeep on 16 Sep 2015
Commented: dpb on 17 Sep 2015
Hi to all, the program attached satisfy the conditions. now I want that the values which are obtained for theta can be seen all together, when i write theta it tells only the last value........ e.g, for example the loop has n values till reaching the final condition, so when i write theta i can see like this
theta = n1 n2 n3 till nn
what command should i write to get all the values on screen........ Thanks in advance............
Offroad Jeep
Offroad Jeep on 17 Sep 2015
Any other good idea please..........

Sign in to comment.

Answers (1)

dpb on 16 Sep 2015
Preallocate theta before the loop...
Then, store each value when computed by writing
where you currently only have
dpb on 17 Sep 2015
Show your work and the error(s) you get...

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!