Сombining values on a single graph
1 次查看(过去 30 天)
显示 更早的评论
Hello! There is an array of data a b c, two 3x3 matrices belong to them, where 3 values of the first matrix 0 2 4 and the second 4 3 0 belong to 'a', is it possible to display this on the graph?
A=[20 50 45 ] %values a=20 b=50 c=45
% x = 3х3 matrix , first column of the matrix = a, second = b, third = c
% y = 3х3 matrix , first column of the matrix = a, second = b, third = c
figure(1);
plot(A);
hold on
plot(x);
hold onn
plot(y);
hold off
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!