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
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:
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!