Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to implement following with simulink blocks

1 vue (au cours des 30 derniers jours)
Prasanna Venkatesh
Prasanna Venkatesh le 21 Sep 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello, I am new to Simulink and need some help to figure out which blocks and structure to use to implement the following.
I have an excel sheet with 2 columns. First column is A going from 1 to 25 with increment of 1 unit. Second column has corresponding max values for each value of A. So if A is 1 then B should not exceed value in first column. If A is 2 then B should not exceed value of 2nd column and so forth.
I want to compare each measured value of A to this excel sheet(lookup table) and for every instance that a value of A exceeds the max threshold I want a counter to increment and count the number of such instances.
Any help is appreciated.
Thanks.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by