Скачиваний:
2
Добавлен:
24.06.2025
Размер:
544 б
Скачать
clear; clc
x1=[0	8	16	19.3	20.4	21	21.4	21.9];
x2 = [0	4	8	14.27	14.9	15.31	15.6	15.79];
y1 = [0.0	0.0	0.1	0.4	2.1	4.2	8.3	16.7]; % Темновой 20см
y2 = [0.0	0.0	0.1	0.4	2.1	4.2	8.3	12.5];
xx1 = linspace(min(x1),max(x1));
xx2 = linspace(min(x2),max(x2));
f1 = pchip(x1,y1,xx1);
f2 = pchip(x2,y2,xx2);
plot(x1,y1,'^',x2,y2,'o',xx1,f1,xx2,f2,'LineWidth', 2) 
grid on
xlim([0 25])
xlabel('U, В')
ylabel('I, мА')
legend('S10K11','CT1206M6G','Location','northwest')
zoom(0.93)
ax = gca;
exportgraphics(ax, 'LinePlot.jpg')
Соседние файлы в папке ФАЙЛЫ ДЛЯ ГРАФИКОВ MATLAB