I have file with 50 rows and 12 columns [50 x 12] , how can i convert this file to [50 x 1 x 12] where 12 it is like channels in an image, for example for rgb images would be [50 x 20 x 3] in my case I wanted to be 12 channels
thanks for your help

 채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 1월 19일

1 개 추천

reshape(data,[50,1,12])

댓글 수: 1

Mauricio Piraquive
Mauricio Piraquive 2021년 1월 19일
Thanks, and then how can I save this rtesult into a .mat file?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by