How to add a single number to a 1*2401 matrix?
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to add my valu dragZeroLift = 0.0351 and my dragInduced matrix

Then the Matlab gives me erro like this:
Matrix dimensions must agree.
Error in dragCalc (line 4)
totalDrag = dragInduced + dragZeroLift;
Can you help me add 0.035 to each element in the dragInduced martix?
Thank you!
댓글 수: 2
채택된 답변
추가 답변 (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!