plotting the graph for (5*5) matrix

could anyone tell me how to plot the graph for the image attached with respect to values given.

Risposte (1)

ANKUR KUMAR
ANKUR KUMAR il 8 Dic 2017

1 voto

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

Categorie

Richiesto:

il 8 Dic 2017

Risposto:

il 8 Dic 2017

Community Treasure Hunt

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

Start Hunting!

Translated by