Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

New to simulink

2 Ansichten (letzte 30 Tage)
Nagini
Nagini am 27 Jan. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
What does (u[2]==0)*1+(u[4]==0)*2+(u[1]==0)*4+(u[3]==0)*8 written in a function block with four inputs and one output in simulink environment mean? Similarly, could you also tell me how , | are used (in fcn)? I was under the impression that function blocks are for writing formulae alone.

Antworten (1)

Ambika
Ambika am 27 Jan. 2012
hi, here u(1),u(2),u(3) and u(4) are each inputs. here though the inputs are zero , the o/p will be 0 . generally the Fcn block applies the specified mathematical expression to its input.also, in Fcn block we can use ll

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by