Converting a single column vector to a 4d vector.

1 view (last 30 days)
Basu Sau
Basu Sau on 23 Feb 2019
Edited: Basu Sau on 23 Feb 2019
Dear
Following my previous question which jos has shown me how to solve), i got struck in solving the opposite problem.
input:
a(1,1)=051
a(1,2)=0.55
a(1,3)=0.67
output:
a(:,:,1,1)=0.51
a(:,:,2,1)=0.55
a(:,:,1,2)=0.67
thanks,

Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!