NEW USER-multiplying vectors

Im having trouble with multiplying these two vectors together.
B = [7 -3 2] COLUMN VECTOR
C = [5 4 2]
problem states 1. do necessary modifications in order to add each element of B to its corresponding element in C vector, call new vector E. 2. Define a new variable F and perform the following operation CxB.
I am a new user, just got student edition 2 days ago. Any help would be appreciated.

답변 (1개)

Shashank Prasanna
Shashank Prasanna 2013년 1월 29일

1 개 추천

B = [7 -3 2]
C = [5 4 2]
E = B + C
F = C.*B
I really really really recommend you go through the getting started guide. It will go a long way:

댓글 수: 1

Bruce
Bruce 2013년 1월 29일
Yeah, im about to start going through the starting guide again. Thank you for your help!
-Bruce

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2013년 1월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by