How can i get the points within a space defined by vectors (0,0,0), (2,4,1),(0​,0,2),(-2,​4,-1)?

1 回表示 (過去 30 日間)
SYLVESTER
SYLVESTER 2022 年 10 月 26 日
回答済み: KALYAN ACHARJYA 2022 年 10 月 26 日
I am new to matlab and need some help. I am trying to make a script that will generate points within(inside) the space whose vertices are defined. How will such a script look like? Kindly advise

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2022 年 10 月 26 日
po=[randi([-2,2]),randi([0,4]),randi([-1,2])]
po = 1×3
2 4 -1

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by