Community Profile

photo

Shivank Anchal


Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


why does sine curve not properly plotted in simulink

5 years ago | 1 answer | 0

1

answer

Answered
timer function is not executing the function i am providing ,please help me with this?
function ritik for x=1:10 start(t) stop(t) disp(x) end >> global t >> t=timer('timerfcn',ritik,'startdelay',2...

5 years ago | 0

Question


timer function is not executing the function i am providing ,please help me with this?
this is in script window: function ritik for x=1:10 start(t) stop(t) ...

5 years ago | 3 answers | 0

3

answers

Question


How shall i print whole numbers with a time delay of 1 sec???the below program display random numbers with time delay.I want to print the sequence of numbers with timer delay.
>> t=timer('timerfcn',@(x,y)disp(rand),'executionmode','fixedrate','period',1) t = Timer Object: timer-39 Timer ...

5 years ago | 1 answer | 0

1

answer

Answered
Index in position 1 exceeds array bound (must not exceed 2) error
t=timer('timerfcn',@(x,y)disp(x(2,2)) this line is incorrect ,it should have been t=timer('timerfcn',@(x1,y)disp(x(...

5 years ago | 0

| accepted

Question


Index in position 1 exceeds array bound (must not exceed 2) error
>> x=rand(5,5) x = 0.8594 0.8865 0.7127 0.0424 0.8175 0.8055 0.0287 0.5005 0.0714 0.7224 ...

5 years ago | 1 answer | 1

1

answer