Azzera filtri
Azzera filtri

query on box plot function?

1 visualizzazione (ultimi 30 giorni)
Heartrin
Heartrin il 5 Nov 2015
Commentato: Star Strider il 5 Nov 2015
i am having a column vector of length 60000. i have to split it into 10 parts. so it becomes 10 column vectors and i have to use box plot for each column vectors.
i know the box plot function but how do i split my vector?

Risposta accettata

Star Strider
Star Strider il 5 Nov 2015
If ‘V’ is your (60000x1) vector, this works:
V = [1:60000]';
Vs = reshape(V, [], 10);
  4 Commenti
Heartrin
Heartrin il 5 Nov 2015
oh ok. mine is already a column vector so no problem. thank you so much.
Star Strider
Star Strider il 5 Nov 2015
My pleasure.
I had to create a column vector to test my code, so it would work without error in your application.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by