MATLAB Programming Techniques Course quiz problem

조회 수: 14 (최근 30일)
Luca Scagnellato
Luca Scagnellato 2022년 2월 7일
이동: Adam Danz 2023년 8월 24일
I really can't understand why I can't get this question right. The same question was closed without a proper answer: https://it.mathworks.com/matlabcentral/answers/1591624-mathlab-programing-techniques-online-course-problem
The first option occupies 8e9 < 1.015e10 bytes
The second 8e4 < 1.015e10 bytes
The third 8e5 < 1.015e10 bytes
The fourth 8e9 < 1.015e10 bytes
The fifth should be 1.6e10 > 1.015e10 bytes, so it should be the only right answer
Still, it's listed as wrong and I can't wrap my head around this. It's the only thing in the whole course I can't do and I really need the certification ASAP
  댓글 수: 5
bhargav ram akkaraju
bhargav ram akkaraju 2023년 4월 28일
Tq sharmilaa.
SENA REDDY
SENA REDDY 2023년 6월 28일
이동: Adam Danz 2023년 8월 24일
Option 3 and 5

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

채택된 답변

Dave B
Dave B 2022년 2월 7일
편집: Dave B 2022년 2월 7일
You've marked the second and third lines as being 8e4 and 8e5 bytes, but this is incorrect.
Hint: how many elements are in a martix creted by ones/zeros with one argument?
x=rand(7);
size(x)
ans = 1×2
7 7
  댓글 수: 1
Luca Scagnellato
Luca Scagnellato 2022년 2월 7일
Thanks Dave for the quick reply. I feel so dumb right now :)
After all these years using MATLAB I still forget these details, hopefully after this I won't anymore

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by