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!