How can I split a class into two classes with the same name?
Mostrar comentarios más antiguos
I am trying to create two arrays of the same size for a class.
I define a "material" class and assign a material properties "rho","cp" and "lambda". I do calculations with these properties at 10 different locations and put the output in a 5x2 matrix. Now I want to perform these same calculations for the same "material" object, but I want to assign different values for the defined properties to perform the calculations with.
Is there an easy way to implement this or is it recommended to create a new "material" object to accomplish this?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!