make a matrix from a structure field.

2 vues (au cours des 30 derniers jours)
Sanjib Sarkar
Sanjib Sarkar le 7 Mai 2021
Modifié(e) : Stephen23 le 23 Fév 2022
I have a stucture with field ch_nme2 which has 1x1780 doubles. How to make a (i x 1780) matrix from that structure where i = number of cells in the ch_nme2.
For example, how to make 9x1780 matrix from the following field of the stucture. Thanks in advance.

Réponse acceptée

Stephen23
Stephen23 le 7 Mai 2021
Modifié(e) : Stephen23 le 23 Fév 2022
  1 commentaire
Sanjib Sarkar
Sanjib Sarkar le 7 Mai 2021
Modifié(e) : Sanjib Sarkar le 7 Mai 2021
Thanks!!!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by