Answered
Font problems when exporting box plot with Greek letters
You can use the "export_fig" function. (https://www.mathworks.com/matlabcentral/fileexchange/23629). This saves Figure/axes and ...

8 months ago | 0

Answered
Can I combine imported geometry with basic shapes?
Import STL Geometry: Use "importGeometry('your_stl_file.stl')" for a standalone object. (https://www.mathworks.com/help/pde/ug/...

8 months ago | 0

Answered
How to creat grouped violin plot?
I found this on MATLAB File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/45134-violin-plot. It does pretty muc...

8 months ago | 0

Answered
PlotClustersWithColours3D is indicating not recognized
"PlotClustersWithColours3D" is likely not a built-in MATLAB function. It could be a custom function written by someone else or a...

8 months ago | 0

Answered
3D data plotting in matlab as a cube?
"isocaps" treats the threshold (1e-4) as a strict cutoff. Values below the threshold are entirely excluded from the isosurface g...

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

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

8 months ago | 0

| accepted

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

Answered
Extrude discreate data plot into a 3D space (for 3D printing)
Hi Mat, Start with your 2D grid: Use "meshgrid" to define your x and y coordinates. Add depth: Extrusion: Create a "z" c...

9 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

Answered
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 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

Answered
how to define multiple scales for x axis in one graph
Hi Farnaz, You can refer to this link: https://www.mathworks.com/matlabcentral/fileexchange/9016-addaxis The "addaxis" allows...

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

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

9 months ago | 0

Load more