Can somebody spot the issue in the code?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!