Azzera filtri
Azzera filtri

How to get specific data from Double?

1 visualizzazione (ultimi 30 giorni)
Zach
Zach il 15 Mar 2012
I have double (i,j,n): A(1:50,1:50,1:250) in other words 2-dimensional vector (i,j) that changes n times. How can I get from this a new (1-dimensional vector B(:)) vector B(25,25,1:250) that will give me 250 times of data in point (25,25)??

Risposte (1)

Wayne King
Wayne King il 15 Mar 2012
Do you just mean?
B = squeeze(A(25,25,:));
  1 Commento
Zach
Zach il 15 Mar 2012
Obviously YES!
Thank you very much!
P.S.
may be you can help with this problem too:
http://www.mathworks.se/matlabcentral/answers/32381-can-not-subplot-wind-rose

Accedi per commentare.

Categorie

Scopri di più su Performance and Memory in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by