Increasing Automation with FunctionsFunction Files(4/4) Vectorizing the Comparison Function
이전 댓글 표시
From the script (comparewithtol.mlx), call the isequaltol_vec function with a single output to determine if x and z are within 1e-5 of each other. Store the result in a logical variable called eqxz. I don't have only this activity. Thanks

댓글 수: 7
Walter Roberson
2023년 3월 26일
OutputVariableName = NameOfFunction(FirstParameter, SecondParameter, ThirdParameter)
Alexander Reina Garzon
2023년 4월 10일
Hessa Alhassan
2023년 11월 9일
이동: Cris LaPierre
2023년 11월 9일
Problem in "Increasing Automation with Functions > comparing using tolerance > (3/4)

Cris LaPierre
2023년 11월 9일
이동: Cris LaPierre
2023년 11월 9일
Jansen
2024년 12월 19일
이동: Cris LaPierre
2024년 12월 19일
This is my issue
Jansen
2024년 12월 19일
이동: Cris LaPierre
2024년 12월 19일

Jansen
2024년 12월 19일
이동: Cris LaPierre
2024년 12월 19일
I already moved to comparewithtol.mlx still the same issue
채택된 답변
추가 답변 (1개)
Abhijeet
2023년 4월 4일
Hi,
You can call the function isequaltol_vec in comparewithtol.mlx script using the below code :
eqxz = isequaltol_vec(x,z,1e-5)
Thanks
댓글 수: 5
Alexander Reina Garzon
2023년 4월 10일
Walter Roberson
2023년 4월 11일
What error message(s) are you getting from the grading system? And what is your code?
Selim
2023년 10월 24일
Does eqxz exist?
Is eqxz correct?
Agnes
2024년 3월 28일
I'm getting the same error code
Cris LaPierre
2024년 3월 28일
It appears to be working. Please share a screen shot of your attempt with the errors showing.
카테고리
도움말 센터 및 File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
