Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
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?

Answers (1)

Star Strider
Star Strider on 28 Aug 2019
Use the reshape function:
v = rand(1, 4418);
vr = reshape(v, 94, []);

This question is closed.

Community Treasure Hunt

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

Start Hunting!