Help Implementing Pseudo Code

1 回表示 (過去 30 日間)
Megan Gregory
Megan Gregory 2019 年 11 月 6 日
回答済み: Steven Lord 2019 年 11 月 6 日
Could someone help me implement this function pseudo code? The last two parts are pretty straight forward but im not sure how to find the interval in the iteration. Thank you!

採用された回答

Steven Lord
Steven Lord 2019 年 11 月 6 日
Since this sounds like it may be homework I'm only going to give two hints.
One way to do step 1 is to use discretize.
You may want to check the case where the element of x is a member of the d vector beforehand.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by