plotting the graph for (5*5) matrix

14 次查看(过去 30 天)
jaah navi
jaah navi 2017-12-8
could anyone tell me how to plot the graph for the image attached with respect to values given.

回答(1 个)

ANKUR KUMAR
ANKUR KUMAR 2017-12-8
You can plot the contour map of 5*5 matrix using contourf https://in.mathworks.com/help/matlab/ref/contourf.html
Or you can just write plot(A), where A is 5*5 matrix, then it plots the line plot of all 5 rows. https://in.mathworks.com/help/matlab/ref/plot.html
Or you can plot the histogram using histogram Visit: https://in.mathworks.com/help/matlab/ref/histogram.html

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by