photo

Divyajyoti Nayak


Last seen: 3 days ago Active since 2023

Followers: 2   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
addlistener error - updating from handle.listener
Hi Kaden, According to the documentation of the ‘addlistener’ function, only properties whose class can set the ‘GetObservable...

3 days ago | 0

Answered
I have to do a 3D plot for rotating disk but i am not getting a 3D plot
Hey @Noor, I ran your code and the final plot obtained is actually a 3d plot but looks 2d because it’s a top down perspective. ...

3 days ago | 0

| accepted

Answered
Handle.listener, how to update code?
Hi Kaden, To update code from using ‘handle.listener’ to ‘addlistener’, the ‘eventName’ or the third argument needs to be chang...

4 days ago | 0

Answered
transferring data element between charts in stateflow
Hi @Ahmad Falih, To use input data in a Stateflow chart from other charts or Simulink blocks, the symbol (variable) for the da...

6 days ago | 0

Answered
How to get Symbols list of stateflow chart through command window
Hi @Nikhil Boddula, To get the symbols used in a Stateflow chart programmatically, the ‘find’ function can be used to retrieve...

6 days ago | 0

Answered
How to trigger an excel file download in chrome from Matlab. (403 with message "Forbidden" )
Hi @Ernesto Lopez Mondragon, The status code given in the error is 403 which means that the request was recognized by the serve...

8 days ago | 0

Answered
Angle measurement from video discontinuity problem
Hi @AC, On running the code and trying to debug it, I found that the 'jump' in angle values is because of the values of 'x1','y...

10 days ago | 0

Answered
How can I access Simscape Multibody solid properties calculated via geometry in a script?
Hi @Alejandro, Accessing the derived values, such as center of mass, moments of inertia, etc. that are calculated from geometry...

10 days ago | 0

Answered
How to get rid of this error I get while linearizing a plant by simulating input/output data
Hi @KUNAPULI SRINIVAS, This error is caused due to the solver not being in single tasking mode. That means using a fixed step ...

12 days ago | 0

Answered
I want to check this property with code in Simulink StateFlow. I found that there is no direct identifier. Is there any way to check this option? (Create output for monitoring
Hi @Fangping, To programmatically check the option “Create output for monitoring” in the Stateflow chart’s properties, you can ...

14 days ago | 0

Answered
Need Help with the code. Why I am getting the zero value for V., G_V and K_V?
Hi @Nikhil, The reason for why the values of matrix “K_V” is coming out to be zero is because the values are being initialized ...

14 days ago | 1

| accepted

Answered
Can the Simscape DC Motor block be used to represent a BLDC motor?
Hi @Michael P, BLDC motors are just a more efficient DC motor because of their brushless design. The use cases and physics s...

15 days ago | 0

Answered
Why does imagesc show different outputs for the same input matrix?
Hi @Sumit, From what I can tell, the reason the two figures are slightly different is because for figure 1 the colors are being...

1 month ago | 0

Answered
Problem in creating physics engine for a bouncing spring-mass cube
Hi @Ahmed Ghazal, To calculate the net forces on the block at every time step, the forces need to be updated at every time step...

1 month ago | 0

Answered
How do I phase shift a Simulink signal?
Hi Tevel, I see that you are creating an input signal by adding two sine wave signals, then splitting the input signal, one of ...

1 month ago | 0

Answered
Copy Block Mask GUI from Model to MATLAB App
Hi Daniel, To programmatically get the mask of any block in a Simulink model, the ‘get’ function of the ‘Simulink.Mask’ class ...

1 month ago | 0

Answered
Automatic Animation Playback Outside Livescripts
Hi @Sebastian, There's no direct way to include playback features for animated plots but I did manage to create a simple workar...

1 month ago | 0

| accepted

Answered
loop through columns,select three columns and surface plot, then do the same for next three columns
Hi @Abdul Rasyid Haron, To use data from a spreadsheet, the 'readtable' and 'readmatrix' functions can be used to extract the d...

1 month ago | 0

Answered
Create shortcut to pushbutton
Hi @zeyneb khalili, To create a shortcut for push button in MATLB figures, the ‘KeyPressFcn’ and ‘KeyReleaseFcn’ callbacks of ...

1 month ago | 0

Answered
what is ellipsoidal height in the local origin?
Hi @vasili, Ellipsoidal height is the height measured from the reference of ellipsoid approximation of the earth's surface and ...

2 months ago | 1

| accepted

Answered
KeyPressFcn and WindowKeyPressFcn not working
Hi @André, From what I understand, you want the focus to come back to the parent figure after the button has been clicked, th...

2 months ago | 0

| accepted

Answered
Convert Python tuple output into MATLAB array
Hi @Francesco, I see that you want a way to pass arrays in a python tuple and use them in MATLAB. The python tuple can be passe...

2 months ago | 0

Answered
How to place a sub-axis at a fixed distance from figure border?
Hi @Francesco, To have the sub axis at fixed distances from figure borders instead of relative distances, the 'Units' property ...

2 months ago | 0

| accepted

Answered
ploting vectorial expression in 3D question
Hi Fima, The electromagnetic wave can be plotted using the “plot3” function and the arrow heads can be plotted using the “quive...

2 months ago | 0

Answered
SimScape source for angular postion
Hi Jack, From what I understand, you want to provide angular position as an input source to your mechanical system. Although th...

2 months ago | 0

Answered
PQ theory can't work in single phase
Hi @Thanapon, The reason the model is not able to run is because there’s a division by zero happening in the first time step. S...

2 months ago | 0

Answered
how to make a continuity graph ?
Hi @Rahmat, The reason the plot from the code is not a continuous line curve but more of a scatter plot is because the y value ...

2 months ago | 0

| accepted

Answered
Trying to plot streamlines and need some help
Hi @Britney, I am assuming that you're trying to plot the streamlines of the potential flow around a cylinder of radius "a". To...

2 months ago | 0

Answered
Trying to add a range slider that control the range from the given years in app.year but everything I had tried doesn't work
Hi @Gabriel I assume you just want to change the limits of the x axis using the slider and are not able to do so. The "XLim" pr...

2 months ago | 1

| accepted

Answered
How do I plot this temperature field ?
Hi @Siddhant, I see that you're trying to plot the general solution you have found but the equation given and the equation in t...

2 months ago | 1

| accepted

Load more