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!