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 件のコメント

OutputVariableName = NameOfFunction(FirstParameter, SecondParameter, ThirdParameter)
Hi, didn't work :( help please the solution doesn't work...
Hessa Alhassan
Hessa Alhassan 2023 年 11 月 9 日
移動済み: Cris LaPierre 2023 年 11 月 9 日
Problem in "Increasing Automation with Functions > comparing using tolerance > (3/4)
Jansen
Jansen 2024 年 12 月 19 日
移動済み: Cris LaPierre 2024 年 12 月 19 日
This is my issue
Jansen
Jansen 2024 年 12 月 19 日
移動済み: Cris LaPierre 2024 年 12 月 19 日
Jansen
Jansen 2024 年 12 月 19 日
移動済み: Cris LaPierre 2024 年 12 月 19 日
I already moved to comparewithtol.mlx still the same issue

サインインしてコメントする。

 採用された回答

Cris LaPierre
Cris LaPierre 2023 年 4 月 11 日
編集済み: Cris LaPierre 2023 年 4 月 11 日
Have you noticed that there are 2 live scripts open? comparewithtol.mlx and isequaltol_vec.mlx.
You need to switch to the comparewithtol.mlx live script and enter you solution into the Task 2 code block.

その他の回答 (1 件)

Abhijeet
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 件のコメント

Hi, ddidn't work :( help please the solution doesn't work...
Walter Roberson
Walter Roberson 2023 年 4 月 11 日
What error message(s) are you getting from the grading system? And what is your code?
Selim
Selim 2023 年 10 月 24 日
Does eqxz exist?
Is eqxz correct?
Agnes
Agnes 2024 年 3 月 28 日
I'm getting the same error code
Cris LaPierre
Cris LaPierre 2024 年 3 月 28 日
It appears to be working. Please share a screen shot of your attempt with the errors showing.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Dimensionality Reduction and Feature Extraction についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by