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!