Find where line crosses y = 1 and y = 0

1 visualizzazione (ultimi 30 giorni)
Kaja Vik
Kaja Vik il 25 Set 2019
Risposto: Rik il 25 Set 2019
Hello, how can I find where this line crosses the y = 1 and y = 0
y_line = A*x+B

Risposte (1)

Rik
Rik il 25 Set 2019
Basic algebra which doesn't have a lot to to with Matlab:
A=4;B=9;%example input
y=[0 1];
x=(y-B)./A;
clc,disp(x)

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by