Invalid syntax at num2str. A'(' might be missing a closing ')'
이전 댓글 표시
Hello everyone! Im writing simple code for a intro class and continue to get a syntax error "Invalid expression". For this homework, the instructure wants use num2str that seems to be where my error originates. Im sure its a simple mistake. All help is apriciated. Thank you!
disp((' (a) tanh(e)=' num2str(tanh(exp(1)))))
채택된 답변
추가 답변 (1개)
Cameron B
2020년 1월 26일
disp([' (a) tanh(e)=',num2str(tanh(exp(1)))])
카테고리
도움말 센터 및 File Exchange에서 Variables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!