Assigning computation values to variables without making it an array
7 ビュー (過去 30 日間)
古いコメントを表示
Hi. When I use the following code it creates a array instead of just store a single value.
fa1=(1/T)*trapz(t1,f1);
How do I sotre just the value, since when I try rping the answer it prints an entire matrix
2 件のコメント
回答 (1 件)
Kevin Rawson
2019 年 4 月 12 日
I suggest you check what terms are enclosed in your parentheses very closely.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!