Abhinaya Kennedy

Last seen: Today Active since 2023

Followers: 0   Following: 0

Feeds

View by

How to code a weight matrix with these features in MATLAB?
Define the size of the matrix (n): Set a variable "n" to the desired size of the matrix. Create an empty n*n matrix: Use the z...

4 hours ago | 0

why is 2D deformation plot in pdeplot samller with larger DefromationScaleFactor
Here's my best shot at an explanation for this difference: In 3D (pdeplot3d): A larger "DeformationScaleFactor" leads to a lar...

5 hours ago | 0

Generate a square pulse
Generating the Pulse: Create a time axis "(t_axis)" from "0" to "T_sq_dur" with samples based on "fs". Calculate pulse amplitu...

1 day ago | 0

3D markers in a scatter3 plot
You may create small balls using a "sphere" as follows : http://www.mathworks.com/help/matlab/ref/sphere.html?searchHighlight=s...

2 days ago | 0

How to plot a graph with geographic coordinates
While "gplot" works for cartesian coordinates, MATLAB provides functions specifically designed for geographic data. "geoplot"...

2 days ago | 0

How can I draw delta robot workspace in 3D graphic?
Here are the general steps involved in visualizing a delta robot workspace using MATLAB: Define the Workspace Boundaries: Set ...

7 days ago | 0

how can I do a 3D plot for S-parameter based on S21, Frequency and Distance?
Hi Peyman, "meshgrid" creates two-dimensional grids from one-dimensional inputs. However, your "s21_db" data has three dimensi...

8 days ago | 0

Triangulation of hollow objects
Hi Tero, Here are two possible approaches to create a hollow 3D triangle in MATLAB: Using the "patch" function: This function...

8 days ago | 0

M_map lambert projection
Hi Bianka, The issue with your plot likely stems from how you are filling the missing data (NaN values) before plotting with "m...

8 days ago | 0

I want to modify the code to plot the Lagrange polynomial interpolation with Chebyshev points. Map the n+ 1 Chebyshev interpolation points from [-1,1] to [2,3]
Hi Ebtisam, To use Chebyshev points, replace the line "t = a:h:b;" with this: t_cheb = cos(linspace(0, pi, n+1)); t = (a + b)...

8 days ago | 0

Geographical binning with HISTA not creating squares
Hi Karel, The "daspect([1 1 1])" function sets the data aspect ratio to be equal in all directions, but it might not always res...

8 days ago | 0

Extrude discreate data plot into a 3D space (for 3D printing)

9 days ago | 0

How to organize Stateflow charts in Simulink model (or vice versa)
Hi andrew, The best approach for modeling your scenario depends on the complexity of the interactions and decision logic betwee...

9 days ago | 0

How to get some coordinate description of DiscreteGeometry Face or Edge?
Hi Locklin, Here's how you can obtain the vertex indices and compute the normal vector for an exterior edge of a pde tet mesh a...

9 days ago | 0

what changes would you recommend
Hi Manav, The provided code lays a good foundation for muscle fatigue analysis. Here's how to enhance it: Data Format: Ensure ...

9 days ago | 0

Cambiare colore degli Stati con il tool Basemap
Hi Alessandro, My translation might be off, but from what I can understand, you would like to change the colour of the geobubbl...

9 days ago | 0

I want to plot SPR curve for Reflectance Vs Wavelength in place of angle of incidence.can anyone guide me ?
Hi Ananya, Your code simulates SPR for different gold thicknesses but plots reflectance vs. incident angle. To generate a refl...

28 days ago | 0

Improving recursive maze-solver-like function for TTBD simulation.
Hi Jurij, To optimize the 'CheckFailedCellNearby' function for faster execution and cleaner code: 1. Avoiding Global Variables...

28 days ago | 0

How to code for creating a Tripartite plot (Acceleration, Velocity and Displacement)
Hi Ayushi, You can refer to this link ( https://www.mathworks.com/matlabcentral/fileexchange/70118-vibration-nomogram ) to help...

29 days ago | 0

how to define multiple scales for x axis in one graph

29 days ago | 0

How to command the Gradient Weight
Hi Akmal, The reason why only one frame appears when using "imshow3D" to visualize the 83-frame DICOM image is likely because "...

29 days ago | 0

Moving points together along a specified path
Hi Ricardo, You can move multiple points along a specified path by specifying a series of points that the path will pass throug...

29 days ago | 0

what does defaultAreaFaceColor do?
Hi Dave, MATLAB sets object properties in a specific order: Object-specific: Highest priority, set using "set(objectHandle,......

1 month ago | 0

Lock position of text arrow on figure
Hi Ishaan, The code you provided uses data coordinates to specify the position of the text arrow. This means that the arrow wil...

1 month ago | 0

While "shadowplot" (SHADOWPLOT - File Exchange - MATLAB Central (mathworks.com)) isn't ideal for spheres in GUIs, here are effec...

1 month ago | 0

Save overlaying markers of plot in right order to pdf
Hi Fa, Problem: Overlapping markers in PDFs due to plotting order. Circles plotted first might be hidden by subsequently plotte...

1 month ago | 0

Filled figures, saved as eps or pdf, now have weird lines when zoomed in, while png files do not,
Hi, There are workarounds to avoid weird lines in eps/pdf exports of filled figures in MATLAB: Save as PNG: This format avoids...

1 month ago | 0

How to add a left pointing arrow with annotation to a plotted DEM in MATLAB?
Hi Adele, The issue with your code for adding the arrow and label is twofold: Color: Currently, you have set the color of th...

1 month ago | 0