Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

I have a data set with <1x4418 double>, and i want to convert the same data set <94x47 single or double>, how can i do this?

1 vue (au cours des 30 derniers jours)
Heramb Gaikwad
Heramb Gaikwad le 28 Août 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a data set with <1x4418 double>, and i want to convert the same data set <94x47 single or double>, how can i do this?

Réponses (1)

Star Strider
Star Strider le 28 Août 2019
Use the reshape function:
v = rand(1, 4418);
vr = reshape(v, 94, []);
  2 commentaires
Heramb Gaikwad
Heramb Gaikwad le 28 Août 2019
It works.
thank you so much for your kind guidance.
Star Strider
Star Strider le 28 Août 2019
My pleasure.
If you want to chnage it from double to single, use the single function. Other relevant links are in and at the end of that page.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by