필터 지우기
필터 지우기

How would I create a row vector, knowing the first value, the increment and the number of entries?

조회 수: 8 (최근 30일)
I have a 85x88x10000 matrix called Ims, followed by a piece of code:
frames=zeros(1,size(Ims,3));
This returns an empty row vector of the form 1x10000
How can I populate this vector with values knowing the first value = 0, the increment is 0.82 and the number of entries = (Ims,3)

채택된 답변

Torsten
Torsten 2022년 2월 16일
frames = 0:0.82:(size(lms,3)-1)*0.82

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by