I need to solve an equation which is dependent on another equation and get the required plot. How can i do that?
1 回表示 (過去 30 日間)
古いコメントを表示
I need to code in matlab
1 件のコメント
採用された回答
James Browne
2019 年 6 月 15 日
編集済み: James Browne
2019 年 6 月 15 日
Solve equation 1, store result in a variable, use said variable as input to equation 2? Here is a quick example~
x = 0:0.1:5;
y1 = 2*x + 3;
y2 = 3*y1 - 2;
plot(x,y2)
title('y1 = f(x) y2 = f(y1)')
legend('y2','location','southeast')
xlabel('inputs')
ylabel('outputs')
Hope that helps?
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Mathematics and Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!