Can somebody spot the issue in the code?

2 views (last 30 days)
Aione ketlin
Aione ketlin on 23 Sep 2019
Commented: Rik on 23 Sep 2019
Hello
I have written the code "fourBarSim.m" which is a fourbar linkage simulation. I have also given the code "Project_2_Checker.m" which is for checking the work. When I compare the visualization to the visualization of the Project_2_Checker and it's numeical calculation, everything seems to be exactly what it should be but the cheker gives 0% and says that it is incorrect. I need the code to pass the checker and I was hoping somebody could spot what is wrong with what I have done. I also need to provide two .p files for the Project_2_Checker but I cannot upload .p files so I changed the extension to .m but if you want to run these two files please change the .m of "Auto_Grader_2_Function.m" and "fourBarSimCorrect.m" to .p. I very much hope somebody can help me out. Thank you!
Edit: Thank you for the comments. I removed:
% INITIALIZATION
% clear all variables
clc
clear
and the issue remains
  2 Comments
Rik
Rik on 23 Sep 2019
Your attachments seem to have disappeared in the interim.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!