MATLAB: How to plot graph from equation

please help me everyone

clc
close all
clear all
syms T2 T3 T4 x4 x3 ;
x2 = [T2 ;T3 ;T4];
T1 = 303;
k = 10;
L = 3;
h = 10;
figure(1)
for x3 = [1 0.1 0.01 0.001]
x1 = [-2 1 0;1 -2 1;0 -1 1+x3];
equ = x2 == inv(x1)*[-100*(x3)^2-303; -100*(x3)^2; 100*(x3)^2+303*x3];
disp(equ)
plot(x3,equ,'b')
hold on
end
I wanna plot grah by x3 is x axis and T2 T3 T4 is y axis

Best Answer

I'm not sure what do you want, is it like this?
x3 = [1 0.1 0.01 0.001];
x2 = zeros(3,4);
for i=1:4
x1 = [-2 1 0;1 -2 1;0 -1 1+x3(i)];
x2(:,i) = inv(x1)*[-100*(x3(i))^2-303; -100*(x3(i))^2; 100*(x3(i))^2+303*x3(i)];
end
plot(x3,x2(1,:))
hold on
plot(x3,x2(2,:))
plot(x3,x2(3,:))
hold off