Opret 2-d Linjeplot
Opret Linjeplot Opret et todimensionelt linjeplot ved hjælp af funktionenplot. For eksempel plot værdien af sinusfunktionen fra 0 til 2.. x = linspace(0,2*pi,100);y = sin(x);plot(x,y) Mærk akserne og tilføj en titel. xlabel(‘x’)ylabel(‘sin(x)’)title(‘Plot of the Sine Function’) Plot Flere Linjer Som standard, MATLAB rydder tal før hver plotte kommando., Brug kommandoen figure for at åbne et […]