Funtion to get 9th term in an array

2 views (last 30 days)
So I have been trying to create a code that gives every nth term if an array but I am very new to Matlab an can't seem to figure it out. Can anyone help please?

Accepted Answer

James Tursa
James Tursa on 19 Sep 2011
A(1:9:end)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!