How to add values around a vector without changing the vector values.

1 view (last 30 days)
So I am trying to take a vector y = (19,1) that I am solving for the values of change that into a vector y = (21,1).
I want the values in rows 1 and 21 to be 0 with the solved for values remaining in rows 2 thru 20.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!