I need to solve an equation which is dependent on another equation and get the required plot. How can i do that?

1 view (last 30 days)
I need to code in matlab

Accepted Answer

James Browne
James Browne on 15 Jun 2019
Edited: James Browne on 15 Jun 2019
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;
title('y1 = f(x) y2 = f(y1)')
Hope that helps?

More Answers (1)

Ana Soph
Ana Soph on 9 May 2020
Hi, i need something like that


Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by