photo

chuyen hoangcao


Last seen: 3 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Just want to display the scope's parameters for a period not from 0
Currently my simulation time is between 0-50s but I just want to get parameters like RMS or overshoot between 20-35s and 35s-50s...

3 years ago | 1 answer | 0

1

answer

Question


I have this error: Derivative is at time ... is not finite, fixed by saturation block but I want to remove this block
I'm having a problem with this derivative. The problem is that if I remove the saturation block (circled in the image), then sim...

3 years ago | 0 answers | 0

0

answers

Question


Why do I have this error when I try to derivative a function with variable x?
I dont know why i have this error. Please help me. This is my code: function [dX,s,x,o,dU,B] = fcn( nref,dnref,ddnref,e1,...

3 years ago | 1 answer | 0

1

answer

Question


Attempt to extract field 'Bc' from 'double'_error.
I dont know why i have this error though the dimensions are true. Please help my code: function Nc = fcn(qe, vr, wr, f,xe,y...

3 years ago | 1 answer | 0

1

answer

Question


How can i implement a clock series?
This is my code i used for matlab function block and it goes straight to scope .But it does not work in the scope. function [Th...

3 years ago | 0 answers | 0

0

answers

Question


How can i simulate a spring-damper force for bileteral teleoperation like the following picture?
i tried to find out the solution but there were some difficulties.The spring and damping gains are selected as 50 Nm/rad and 2 N...

4 years ago | 0 answers | 0

0

answers

Question


An error occurred while running the simulation and the simulation was terminated Caused by: Domain error. To compute complex results from real x, use 'sqrt(complex(x))'.
I dont know why my model has this error because in my code,i have never ust SQRT function.Hope all you help me,especially Sebast...

4 years ago | 1 answer | 0

1

answer

Question


Derivative of state '1' in block '...' at time 0.0022087779194710127 is not finite
i had an error in derivative of input of integrator blocks.Although i added saturation , it was still wrong.Please help me.

4 years ago | 0 answers | 0

0

answers

Question


size mismatch in matlab function block
i dont know why there are some errors about size mismatch in my code, because as you can see, variable s has dimension is [1,2],...

4 years ago | 1 answer | 0

1

answer

Question


Size mismatch in matrix multiplications
I had some error in my Matlab function block but i can not solve ,please help me. function Tl = fcn(e,s,t,Cl,gl) lamda = 0.6; ...

4 years ago | 0 answers | 0

0

answers

Question


Error in ports width and dimension in simulink
in the output of my first sum,it is 2 dimensions but i dont know why because 2 inputs are 1 dimesions.How can i fix it? Thank yo...

4 years ago | 1 answer | 0

1

answer