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

조회 수: 2 (최근 30일)
Yong Chen Chin
Yong Chen Chin 2015년 3월 3일
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에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by