How I can create a three dimensional succession
2 次查看(过去 30 天)
显示 更早的评论
Hi to everyone! What I would like to know is how I can define a 1x1xN element considering that in the third dimension I would like to have something like:
freq = (5:0.5:15)*1e9;
I hope I've been clear enough!
0 个评论
采纳的回答
更多回答(2 个)
John D'Errico
2019-1-6
编辑:John D'Errico
2019-1-6
As simple as one line like this:
freq = reshape((5:0.5:15)*1e9,1,1,[]);
As you can see, it has the desired shape.
size(freq)
ans =
1 1 21
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!