Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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 (최근 30일)
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개)

Star Strider
Star Strider 2019년 8월 28일
Use the reshape function:
v = rand(1, 4418);
vr = reshape(v, 94, []);
  댓글 수: 2
Star Strider
Star Strider 2019년 8월 28일
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.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by