Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Solving the equation in Simulink

3 ビュー (過去 30 日間)
Bilal Mustafa
Bilal Mustafa 2018 年 2 月 25 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I need to solve an equation in Simulink. I've created an Embedded MATLAB Block and tried using 'solve' command this way but its not working.
function sol = Solvesys(a,b,c)
syms a b c ; eqn = ((a*b)/(2)) == (c (2)* z) + (c (1) * sqrt(8-z^2)); sol = solve (eqn,z);
I want to solve it for z where a,b and c are my inputs from other simulink blocks. Can anybody guide pl?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by