Construct a matrix, s6, by subtracting 6 from every 5 elements of s starting from 20th element.

1 view (last 30 days)
if i have matrix s=[0:100], how can I Construct a matrix, s6, by subtracting 6 from every 5 elements of s starting from 20th element. ?????

Accepted Answer

madhan ravi
madhan ravi on 18 Jan 2019
Edited: madhan ravi on 18 Jan 2019

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!