I need help to solve this question below please, how can I find the figure below
if A=5.1; find 1- FLOOR (A) 2- ceil (A) 3- round (A)

 채택된 답변

Image Analyst
Image Analyst 2021년 11월 21일

0 개 추천

Not sure what the difficulty is. It pretty much tells you how to do it:
if A == 5.1
% find 1- FLOOR (A)
result1 = 1-floor(A)
% 2- ceil (A)
result2 = ceil(A)
% 3- round (A)
result3 = round(A)
end
When you tried this, did it not work?
What is the "figure"? Nothing in the instructions says to display a figure or plot anything.

댓글 수: 1

Walter Roberson
Walter Roberson 2021년 11월 21일
"numbers" are often referred to as "figures"
figure (noun) 1. a number, especially one which forms part of official statistics or relates to the financial performance of a company. "official census figures"

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

2021년 11월 21일

댓글:

2021년 11월 21일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by