How to create a 4 dimensional array??
显示 更早的评论
This is just a general question because I can't find it anywhere, but does anyone know how to create a 4-D array? What would the basic code be for it or just a basic example of one would be great!
采纳的回答
更多回答(1 个)
the cyclist
2011-12-1
编辑:John Kelly
2015-2-26
Here is a trivial example:
>> A = zeros(2,3,5,7);
>> A(1,2,1,2) = 6;
>> A(1,1,5,6) = 5;
>> A(2,1,1,:) = pi;
3 个评论
Jan
2011-12-1
This is, as requested, the basic code. +1
erfan vahdat
2020-7-28
thanks
Precious Chukwuezi
2023-12-30
thanks
类别
在 帮助中心 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!