Difference of the Square of Sums and the Sum of Squares
버전 1.0.0.0 (1.92 KB) 작성자:
Andrew Chen
A function called on a single natural number.
Call this function to evaluate a NATRUAL number x --> dsumsquare(x) This function will produce the difference of the sum of squares of a ll natural numbers 1 to x and the square of the sum of natural numbers 1 to x.
For example:
dsumsquare(3) = (1+2+3)^2-(1^2+2^2+3^2) = 36-14 = 22
인용 양식
Andrew Chen (2023). Difference of the Square of Sums and the Sum of Squares (https://www.mathworks.com/matlabcentral/fileexchange/59140-difference-of-the-square-of-sums-and-the-sum-of-squares), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- Robotics and Autonomous Systems > Automated Driving Toolbox > Detection and Tracking > Tracking and Sensor Fusion >
- Automotive > Automated Driving Toolbox > Detection and Tracking > Tracking and Sensor Fusion >
Help Center 및 MATLAB Answers에서 Tracking and Sensor Fusion에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |