MATLAB Answers

How can you change variable-sized data to fixed-sized data?

조회 수: 1(최근 30일)
Joshua Ford
Joshua Ford 2021년 6월 8일
댓글: Joshua Ford 2021년 6월 8일
I am wishing to use multiple blocks and operation that do not support variable-sized data. The source of data is variable-sized and as such this propogates throughout the model. How do you change the data to be fixed? The size of the data remains the same throughout. The operations only change the value of the data for example through ffts, products, conjugates etc
  댓글 수: 2
Joshua Ford
Joshua Ford 2021년 6월 8일
I am wishing to use assignment and variable selector blocks on double-precision data of a 512x2102 matrix. I am wanting to complete an fft of each individual column of the matrix in a for iterator block. The 512x2102 is stated as a variable sized-data size. This data comes from a MATLAB function block.
In the future the data type will be changed to fixed-point hence why I am operating the fft in Simulink and not a matlab function block.

댓글을 달려면 로그인하십시오.

답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by