Hi.I am trying to implement this code.Could anyone please help me.

x1=(0:0.001:50)';
x1= round(x1,3);
lperc=find(x1==px);
I want to model this in simulink but the find is not working exactly as that in the script.I want to find the value px in the corresponding x1 array.So could someone please help me how to do it in Simulink?

Answers (0)

This question is closed.

Asked:

on 25 Jun 2018

Closed:

on 25 Jun 2018

Community Treasure Hunt

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

Start Hunting!