Can someone please help me with this matrix question that I cant answer?

1 回表示 (過去 30 日間)
John Mallia
John Mallia 2021 年 3 月 20 日
回答済み: Shubham Rawat 2021 年 3 月 22 日
I don't know how to enter the code for this question in MATLAB, can someone please give me some guidance on how to answer it? Image has been attached
this is what I have so far: a=[1 3; 2 -4; -2 6], b=[0 1; -1 3; 2 6], c=[1 4; 5 6], d=[2 -3 0; 5 6 -4]
  1 件のコメント
the cyclist
the cyclist 2021 年 3 月 20 日
This is a pretty basic question. My recommendation would be to watch this MATLAB Onramp tutorial, to learn the fundamentals.

サインインしてコメントする。

採用された回答

Shubham Rawat
Shubham Rawat 2021 年 3 月 22 日
Hi John,
You can do like this, but first I will suggest you to watch basic MATLAB from here MATLAB Onramp - MATLAB & Simulink Tutorial (mathworks.com).
a=[1 3; 2 -4; -2 6];
b=[0 1; -1 3; 2 6];
c=[1 4; 5 6];
d=[2 -3 0; 5 6 -4];
%here .^ is for elemetary square of a matrix
matrix = a - 2*b*(c.^2) + 3*d';
Hope this helps!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by