i write correct code but still showing incorrect code

24 views (last 30 days)
REASHMA
REASHMA on 5 Aug 2025 at 4:51
Answered: Cris LaPierre on 6 Aug 2025 at 12:55
Task is create plot with using plot function and the input variables are sample and mass1.
The code is plot(sample, mass1)
but correct code but still povide incorrect answer why?
  2 Comments
Umar
Umar on 5 Aug 2025 at 6:05

Hi @REASHMA,

Could you please share your code and plot to help clarify your posted comments.

REASHMA
REASHMA on 5 Aug 2025 at 8:24
Thankyou for comment.Some internet and software issue.Now i am complete the course

Sign in to comment.

Answers (2)

Vinod
Vinod on 5 Aug 2025 at 20:56
I believe this has to do with stale browser cache. Same workarounds as mentioned on this MATLAB Answer should work.

Cris LaPierre
Cris LaPierre on 6 Aug 2025 at 12:55
I shared this internally. The issue is due to the browser caching old files (all courses just moved to R2025a). The recommended workaround is to clear your browser's cache and cookies.
Other workarounds include using a private/incognito window, or using a different browser.
Also, please make sure your browser is supported and up-to-date. MathWorks recommends using Chrome.

Categories

Find more on Function Creation in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!