Info

この質問は閉じられています。 編集または回答するには再度開いてください。

if i have a vector , i want to subtract it with value ?

1 回表示 (過去 30 日間)
Firas Al-Kharabsheh
Firas Al-Kharabsheh 2016 年 4 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 ???

回答 (1 件)

Azzi Abdelmalek
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 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 9 日
I think, you need to make some efforts by starting to learn Matlab.

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by