Can matlab assign a vector of objects?
조회 수: 2 (최근 30일)
이전 댓글 표시
[x,y,z] = [1,2,3]
Say I want to assign the objcts x, y, and z to values 1,2,3
Can I create a vector of objects [x,y,z] and assign it [1,2,3]? Why does
[x,y,z] = [1,2,3] not work? Surely I dont have to laboriously type out
x = 1
y = 2
z = 3
yes?
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Cast and Quantize Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!