Community Profile

photo

Haojie


Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Output positive until value reach max then output negative in simulink
I have a problem that output a=c(c>0) when b<b_max where b = b + a. If b>b_max, output a=-c until b = b_min. I wonder if ther...

meer dan 9 jaar ago | 0 answers | 0

0

answers

Question


Variable definition in a simple function
Hi all, I have a very simple function and cant get it work. I try to let t0(1)=t(2), t0(2)=t(3)... and write this function belo...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


To call a function results in an error (fzero)
I am really new to matlab. When I wrote two functions like this: funw.m function q = funw(t) h=0; r=1/7; q = q...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Calling a function in another function
I am really new to matlab. When I wrote two functions like this: *funw.m* function q = funw(t) h=0; r=1/7; q = q...

meer dan 11 jaar ago | 1 answer | 0

1

answer