필터 지우기
필터 지우기

How to plot vectors of different lengths to visualize data?

조회 수: 14 (최근 30일)
Tyler Warner
Tyler Warner 2018년 6월 1일
답변: the cyclist 2018년 6월 1일
I have data that comes in the form of a cell array as such:
indexedvalues =
8×1 cell array
[23×1 double]
[21×1 double]
[20×1 double]
[24×1 double]
[23×1 double]
[23×1 double]
[23×1 double]
[23×1 double]
My initial goal is to make a scatter plot, but to also use other plots if needed. I would like to compare the values to each other visually before attempting to make code to process it. Would the best option be to simply concatenate zeros to force them all to the greatest vector length?
There are two other cell arrays that use these index numbers of equivalent vector lengths in each cell.

답변 (1개)

the cyclist
the cyclist 2018년 6월 1일
See my answer to a very similar question here.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by