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

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by