How to take a part of matrix, which is function result?
古いコメントを表示
My code is like this.
A = [1 2; 3 4];
B = sum(A) % I want to use fft or other functions rather than 'sum'
x = B(1)
Then, the result is
B = 4 6
x = 4
If I want to take part of the function directly, that is like
x = sum(A)(1)
How can I do it?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Lidar Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!