photo

Divyajyoti Nayak


Last seen: 4 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
calling function from separate document for fitting
Hi @Jack, the error that you are recieving is because you are passing 'x' as an argument of 'TA_fitting_function' but not defini...

4 days ago | 0

Answered
After upgrading Win11, MATLAB garbled characters
Hi @第四, it looks like you have opened a 'pcode' file (file with extension '.p'). 'pcode' files are MATLAB program files in a pro...

5 days ago | 1

Answered
How to create a dialog box in the plot window.
Hi @Ruben, you can use MATLAB’s ‘UIControl’ objects to build the user interface of your game. You can learn more about ‘UIContro...

7 days ago | 0

Answered
Trouble simulating an RC low and high pass filter with trapoziodal aproximation
Hi @Dayan, The reason your plot is not matching to the one in the lecture is because you are calculating ‘va2’ with old value...

8 days ago | 0

Answered
inverse kinematics (self made function) errors
Hi @Manuel, the reason you are getting constant values for ‘joint2’ is because in the definition of ‘cos_joint2’ the sum of ‘ter...

8 days ago | 0

Answered
Comparing difference in values between values in an array - Using For Loop
Hi @Ammar, the reason you are getting an error is because the distance variable is not pre defined as a vector so it is not able...

12 days ago | 0

| accepted

Answered
How to save multiple figures generated from a single script?
Hi @yojitha etikala, Instead of saving figures from the scope, you could save the data from the scope into matlab workspace and...

1 year ago | 0

Answered
how convert field struct in cellarray
Hi @aldo Rank_DisplayIdxsis is already a cell array. When cell arrays are used as a value for struct field, then an array of st...

1 year ago | 0

Answered
Initializing UI Table App Designer
Hi Richard, This error is caused because you are converting the string arrays into cell arrays, because of which while concaten...

1 year ago | 0

Answered
How to solve the matrix P in the Lyapunov equation "A'P+PA=- Q" in Simulink
Hi LIULYAN, You can use a MATLAB function block and call the lyap function inside it to calculate P. Implement MATLAB Function...

1 year ago | 0

Answered
hi i have a function with 5 constraints , i need someone to help me write the 5th one
Hi Anwar, If your constraint is |S[k] - S[k-1]| > dSOCmin then the condition in the if statement should be if any(abs(dx)<=dS...

1 year ago | 0

Answered
Unable to Package App on App Designer
Hi Kuber, The import tool is not supported for code generation, so if you are using it in your app it will not work. Here's a v...

1 year ago | 0

Answered
How to code following equation in MATLAB ?
Hi Charu, There are a few issues with both your methods and I also have some doubts about the equation. Is B(m) a function of m...

1 year ago | 0

Answered
what ever follows "end" has error: parse error at time: usage might be invalid matlab syntax
Hi Yao, Functions always come at the end of a matlab script. So just put those commands before the function definition and it s...

1 year ago | 0

| accepted

Answered
UAV package delivery flight starting point
Hi, I think your problem might be solved by changing the initial world position. You may try using this: set_param(Plant, "I...

1 year ago | 0