I have a vector like this:

`A=[1 2 3 173 174 175 176 177 178]`

This vector has infection points at 3 and 173. I want to get last inflection point of it. At this example, answer should be 173.

How can i do this?

Thx.

Skip to content# MATLAB: How can i determine last infection point of a vector

inflection pointMATLABmatrixsymbolicvector

I have a vector like this:

`A=[1 2 3 173 174 175 176 177 178]`

This vector has infection points at 3 and 173. I want to get last inflection point of it. At this example, answer should be 173.

How can i do this?

Thx.

## Best Answer