How can I split a class into two classes with the same name?
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!