photo

Divyajyoti Nayak


Last seen: 14 days ago Active since 2023

Followers: 2   Following: 0

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

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

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

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

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

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

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

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

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

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

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

27 days 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

Answered
Graphical User Interface problem with Simulink Design Optimization Toolbox
Hi @Carlos M. Velez S., I tried to reproduce this GUI issue in my system (MATLAB R2024a) by following this example: https://w...

2 months ago | 1

| accepted

Answered
How could I get the handler of an uiobject inside a function?
Hi @Adrian Nicolae Culic, I see that you’re trying to pass a ‘uicontrol’ object handle as an argument to a callback function bu...

2 months ago | 0

Answered
Help with polar contour plots
Hi @erhamah alsuwaidi, MATLAB does not have any direct way to create filled polar contour plots but from MATLAB R2024a, the "p...

2 months ago | 0

Answered
Putting the properties of refrigerant.
Hi @Anshul, To use specific refrigerants such as R1234yf, the "Two-Phase Fluid Predefined Properties (2P)" block can be utilise...

2 months ago | 0

Answered
select node in TreeNode
Hi @Luca Re, I assume you want to programmatically "check" the child node checkbox. The "CheckedNodes" property of the parent "...

2 months ago | 0

| accepted

Answered
What is the best way to show that 2 points a linked together
Hi @Joshua Nagle Nagle, I see that you want to show the points on your Cp graph more clearly since the points at the end have v...

2 months ago | 0

Answered
How to plot from listbox
Hi Brian, To plot data from the file selected in the list box, the name of the file needs to be extracted from the cell array i...

2 months ago | 0

Answered
Where did I go wrong with support vector
Hi @G. Nardi, From what I understand. You are following an example and are not getting the same graphs. The graphs seem to be p...

2 months ago | 0

Answered
Unable to get a continuous curvature for my nozzle contour
Hi @Bamelari Jovani From what I can understand, you are not able to plot the second order derivative curves. I think this is be...

3 months ago | 0

Answered
Help needed to make a 3d contour plot
Hi Digvijay, From what I understand, you want to make a 3D surface using x,y,z data points and make a 3D contour plot using fu...

3 months ago | 0

Answered
How to plot a velocity field
Hi Andres, I see that you are trying to plot a velocity field defined in polar coordinates using the ‘quiver’ function. The ‘q...

3 months ago | 0

Answered
How to create complex 'or', 'and' and 'not' operations in fuzzy inference rules
Hi Raul, I understand that you want to create complex rules for your Fuzzy Logic System but MATLAB does not support the use of...

3 months ago | 1

Load more