Data for multiple rectangles

2 views (last 30 days)
Gereon Ridder
Gereon Ridder on 28 Jan 2020
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.

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 31 Jan 2020
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!

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!