Assigning computation values to variables without making it an array
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Kevin Rawson
on 12 Apr 2019
I suggest you check what terms are enclosed in your parentheses very closely.
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!