How would I write these in MATLAB

 採用された回答

James Tursa
James Tursa 2023 年 11 月 30 日
編集済み: James Tursa 2023 年 11 月 30 日

0 投票

Depends on what those subscripts mean. E.g., maybe this
y41 = -(x41^1.5 * cos(x41)^3) + 40;
y42 = x42 * sin(x42^2);
or this
y(41) = -(x(41)^1.5 * cos(x(41))^3) + 40;
y(42) = x(42) * sin(x(42)^2);
or this
y(4,1) = -(x(4,1)^1.5 * cos(x(4,1))^3) + 40;
y(4,2) = x(4,2) * sin(x(4,2)^2);
We need more context to answer your question.

1 件のコメント

Oscar
Oscar 2023 年 12 月 1 日
Thank you very much

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

リリース

R2023b

質問済み:

2023 年 11 月 30 日

コメント済み:

2023 年 12 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by