From: tim kim on
hello
this problem is very simple
i can't understand why this result come out

in simulink
first put 'constant1'
next put 'add'
there are two sign +, - in 'add' box
constant1 links to +
next put plot
between add and plot links to -

and solve this simulink
result is 0.5
i think it should get 0 (simply 1 - 1 = 0 )


do you understand??(i'm not good at english)

thank in advance for any help

best regards

daehyun
From: Wayne King on
"tim kim" <hyunni000(a)hanmail.net> wrote in message <i0i0og$8h8$1(a)fred.mathworks.com>...
> hello
> this problem is very simple
> i can't understand why this result come out
>
> in simulink
> first put 'constant1'
> next put 'add'
> there are two sign +, - in 'add' box
> constant1 links to +
> next put plot
> between add and plot links to -
>
> and solve this simulink
> result is 0.5
> i think it should get 0 (simply 1 - 1 = 0 )
>
>
> do you understand??(i'm not good at english)
>
> thank in advance for any help
>
> best regards
>
> daehyun

Hi, I hope I'm understanding you. If I build a simple Simulink model with two constant blocks (the constant parameter in both set to 1) and I then insert a sum block where the List of signs: is +-
I output a vector of zeros.

Wayne