Equally plotting columns (where possible) in a certain number of figures?

1 次查看(过去 30 天)
I have a matrix of data, X, which contains 30 columns and 4373 rows. Each row of my matrix is a different data point and the values in the matrix are amplitudes.
I need to create a function that will plot all columns of the data in a given number of different figures. The function should have two inputs, the first will be the data, X, the second input will be the number of figures to be produced. For example, a call to composite_plot_***(X,10), should produce ten figures, the first figure will contain a plot of columns 1-3 of the data, the next figure will contain a plot of columns 4-6, etc. Each figure produced should have, where possible, an equal number of columns of data plotted. In my code I should include a call to your function that produces 5 figures. (Please note that my function will be tested with other input numbers as well, including those that are not factors of 30).

回答(0 个)

类别

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