How to generate a fixed number of float numbers and their sum is a fixed float number?

조회 수: 2(최근 30일)
Jiajie Zhang
Jiajie Zhang 2020년 2월 16일
댓글: Jiajie Zhang 2020년 2월 19일
Suppose I have a fixed float number 0.7,
I want to generate 9 positive float numbers that theri sum is 0.7.

추가 답변(1개)

Community Treasure Hunt

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

Start Hunting!

Translated by