Increasing Automation with FunctionsFunction Files(4/4) Vectorizing the Comparison Function
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 26 Mär. 2023
OutputVariableName = NameOfFunction(FirstParameter, SecondParameter, ThirdParameter)
Alexander Reina Garzon
am 10 Apr. 2023
Hessa Alhassan
am 9 Nov. 2023
Verschoben: Cris LaPierre
am 9 Nov. 2023
Problem in "Increasing Automation with Functions > comparing using tolerance > (3/4)

Cris LaPierre
am 9 Nov. 2023
Verschoben: Cris LaPierre
am 9 Nov. 2023
Jansen
am 19 Dez. 2024
Verschoben: Cris LaPierre
am 19 Dez. 2024
This is my issue
Jansen
am 19 Dez. 2024
Verschoben: Cris LaPierre
am 19 Dez. 2024

Jansen
am 19 Dez. 2024
Verschoben: Cris LaPierre
am 19 Dez. 2024
I already moved to comparewithtol.mlx still the same issue
Akzeptierte Antwort
Weitere Antworten (1)
Abhijeet
am 4 Apr. 2023
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 Kommentare
Alexander Reina Garzon
am 10 Apr. 2023
Walter Roberson
am 11 Apr. 2023
What error message(s) are you getting from the grading system? And what is your code?
Selim
am 24 Okt. 2023
Does eqxz exist?
Is eqxz correct?
Agnes
am 28 Mär. 2024
I'm getting the same error code
Cris LaPierre
am 28 Mär. 2024
It appears to be working. Please share a screen shot of your attempt with the errors showing.
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
