Help Implementing Pseudo Code

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by