14 lines
175 B
Matlab
14 lines
175 B
Matlab
function plotcurrents(time, currents)
|
|
|
|
figure();
|
|
hold on;
|
|
for k = 1:size(currents, 2)
|
|
plot(time, currents(:, k))
|
|
end
|
|
hold off;
|
|
xlabel('Time [ms]')
|
|
ylabel('Current')
|
|
|
|
end
|
|
|