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