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 Exchange에서 Matrix 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