Community Profile

photo

siv1


Last seen: 5 meses ago
2 total contributions since 2019

siv1's Badges

  • First Answer
  • Explorer

View details...

Contributions in
View by

Answered
declaring multi global variables with simulink model1
Hi, you need to place the m file data into the main matalb function(mpc controller). That solved the problem for me. And don't f...

7 meses ago | 0

Question


Is this code(in mat lab function block) correct for the attached logic?
[~,k2]=sort(g,'ascend'); [~,k1]=sort(h,'ascend'); k3=k1+k2; k=k3/2; [~,fx_opt]=min(k);

8 meses ago | 0 answers | 0

0

answers