Info
此问题已关闭。 请重新打开它进行编辑或回答。
if i have a vector , i want to subtract it with value ?
1 次查看(过去 30 天)
显示 更早的评论
if i have this vector
v = [ 10
5
3
5
6
7 ]
and i want to subtract it by 3 then the solution will be like that
v = [ 7
2
0
2
3
4]
how can i do this ???
0 个评论
回答(1 个)
Azzi Abdelmalek
2016-4-9
编辑:Azzi Abdelmalek
2016-4-9
You need to read about arrays and matrices http://www.mathworks.com/help/matlab/matrices-and-arrays.html and before asking you could just try
v-3
2 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!