필터 지우기
필터 지우기

help for an exercise answer

조회 수: 2 (최근 30일)
N/A
N/A 2023년 9월 16일
답변: Jerbin J 2023년 9월 17일
The size of two vectors is given by the following commands:
>> size(a)
ans = 5 1
>> size(b)
ans = 1 5
Which operation is allowed? Multiple propositions can be true.
a + b
a' - b
a * b
a' * b
a - b
  댓글 수: 1
Steven Lord
Steven Lord 2023년 9월 17일
Why don't you tell us which ones you think are allowed and which ones you don't (and why you think that way) and we can tell you whether you're right or not (and if you tell us your reasoning, we can explain why.)

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

답변 (2개)

Dyuman Joshi
Dyuman Joshi 2023년 9월 16일
A simple way is to define 2 vectors (choose values as per your liking) of the given size and find out which are allowed and which are not.
If you want to learn more about the topic in hand, refer to -

Jerbin J
Jerbin J 2023년 9월 17일
a + b,a' - b,a * b,a - b
These operations can be performed.
a'*b,cannot be performed because:Incorrect dimensions for matrix multiplication.

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by