Community Profile

photo

Shivank Anchal


Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


why does sine curve not properly plotted in simulink

meer dan 3 jaar 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...

meer dan 3 jaar 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) ...

meer dan 3 jaar 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 ...

meer dan 3 jaar 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(...

meer dan 3 jaar 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 ...

meer dan 3 jaar ago | 1 answer | 1

1

answer