how to reduce the your matrix output

1 view (last 30 days)
Hello, Any help will be grateful in this matter.
Say my output is
400
563
674
904
789
i want to use the same output in another algorithm but only these figures
400
563
674
904
should i use a loop?
Many thanks

Accepted Answer

madhan ravi
madhan ravi on 14 Sep 2019
% Basic indexing:
Output(1:end-1)

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!