photo

Divyajyoti Nayak


Last seen: 15 days ago Active since 2023

Followers: 2   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
How do I convert a regular map image (jpg/png file) to a basemap in order to display using geoaxes?
Hi Barak, The basemaps used in displaying geoaxes are not simple images. They are made using vector and rasterized data with th...

18 days ago | 0

Answered
PID controller - How can I get specific data about the output I receive
Hi @Gabriel Levit, I see that you want to iterate over the output values of your simulation to get Rise time, Settling time, et...

21 days ago | 0

Answered
Change the material of th disque and the shaft
Hi @Amira, I assume you want to know how to programmatically change material properties of certain Simscape blocks. The ‘get_p...

21 days ago | 0

Answered
How can insert a 'bodeplot' in an axes object of AppDesigner.
Hi @Victor Crespo, The support for ‘UIAxes’ handles in ‘bodeplot’ for App Designer was added from R2020b. I would suggest to up...

22 days ago | 0

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...

2 months 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. ...

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months 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 ...

2 months 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 ...

2 months 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 ...

2 months 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...

2 months 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...

3 months 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...

3 months 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 ...

3 months 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 ...

3 months 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...

3 months 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...

3 months 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 ...

3 months 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 ...

3 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...

3 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...

3 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 ...

4 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...

4 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...

4 months ago | 0

Load more