Assigning computation values to variables without making it an array
1 次查看(过去 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!