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.

Respuestas (1)

Harsha Priya Daggubati
Harsha Priya Daggubati el 31 de En. de 2020

0 votos

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!

Categorías

Etiquetas

Preguntada:

el 28 de En. de 2020

Respondida:

el 31 de En. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by