How to create table from formula
이전 댓글 표시
I want to create a table from an input A which is a matrix having 5 elements. I want to find variables x, y and z which are dependent on A by various formulas. I wanted to make a table showing the 5 values of input A along with respective values of x, y and z in each columns .
답변 (1개)
A=(1:5).';
x=A; y=10*A; z=100*A;
T=table(x,y,z)
카테고리
도움말 센터 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!