フィルターのクリア

translate equation to matlab code

11 ビュー (過去 30 日間)
Or Peer
Or Peer 2019 年 5 月 16 日
回答済み: Giuseppe 2024 年 4 月 24 日
Capture_equation.PNG
hellow I would like to translate this equation to matlab code, I am new to matlab language and syntax and would very much appreciate help.
  1 件のコメント
David Goodmanson
David Goodmanson 2019 年 5 月 17 日
Hi Or,
If you are doing this numerically, as you probably already know, N = [1 2 3] creates a row vector, N = [1; 2; 3] creates a column vector.
Dot and cross functions are available in Matlab, see 'doc dot' and 'doc cross'. The cross function outputs a column vector if both inputs are column vectors, and a row vector otherwise.

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

採用された回答

Jon Wieser
Jon Wieser 2019 年 5 月 16 日
s2_hat= n1/n2*(N_hat*(-N_hat*s1_hat))-N_hat*sqrt(1-(n1/n2)^2*(N_hat*s1_hat)*(N_hat*s1_hat))

その他の回答 (1 件)

Giuseppe
Giuseppe 2024 年 4 月 24 日
e^(-x^2)*sin(x)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by