Data for multiple rectangles

I am trying to optimize this function in my programm.
The Problem is, that this function only can be used for 10 rectangles, but i would like to have a solution, which is possible for a different number of rectangles. It would be also nice, if my array isn't that long anymore
If you have any suggestions, i would like to hear them.

回答 (1 件)

Harsha Priya Daggubati
Harsha Priya Daggubati 2020 年 1 月 31 日

0 投票

Hi,
I think you can work this up using Loops and Conditional statements. Refer to matlab online course to get more insight.
Hope this helps!

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

タグ

質問済み:

2020 年 1 月 28 日

回答済み:

2020 年 1 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by