photo

Abhinaya Kennedy


Active since 2023

Followers: 0   Following: 0

Statistics

  • 12 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How to store continuous data from Matlab GUI.
Using guidata: This function allows you to store and retrieve data associated with a GUI. You can update the data at each time s...

1 month ago | 0

Answered
Optimize code without for loop
You can consider: Vectorization: Try to replace loops with vectorized operations. Eg., you can use logical indexing instead of ...

1 month ago | 0

| accepted

Answered
em.EmStructure contains a parse error ?
You could try these steps: Double check if all necessary directories are included in the MATLAB search path. (Home > Environmen...

1 month ago | 0

Answered
Questions about pararell planes in R3.
Finding the Normal Vector: Since you've already identified the normal vector as ([3, 4, -5]), you can directly use this in MATL...

2 months ago | 0

Answered
Matlab locks up when saving figure with color map using scatter()
Problems with saving the scatter plot as a JPEG file is likely due to the complexity of the plot, especially with the colormap a...

2 months ago | 0

Answered
How do i fix this interference on my surf plot
It looks like you’re encountering edge artifacts in your 3D reconstruction. You can try: Applying a smoothing filter to your da...

2 months ago | 0

Answered
Can't save a figure plotted by several 'surfm'-s in vector format
To resolve the error when exporting a .svg from MATLAB: Switch Renderer: Use opengl instead of painters: set(gcf, 'Renderer', ...

2 months ago | 1

Answered
How can I plot the same output without default pattern function?
You can take a look at this example: https://www.mathworks.com/help/phased/ug/array-pattern-synthesis.html#ArraySynthesisExample...

2 months ago | 0

Answered
The cause of the error : Error in matlab.gra​phics.inte​rnal.figfi​le.FigFile​/read>@(hO​bject,even​tdata)GUI(​'pushbutto​n1_Callbac​k',hObject​,eventdata​,guidata(h​Object))
Here are a few steps you can take to troubleshoot: Ensure pushbutton1_Callback is correctly named and has the signature: codef...

2 months ago | 0

Answered
Half-Basin of Sedimentary Deposition
Adjust the rho and z arrays to match the values from your annexed file. Correct the calculation of g_z to ensure it reflects th...

2 months ago | 0

Answered
special data tip in matlab
Yes, it’s possible to create data tips at the intersection points of the red line with the plots and display the legend and coor...

2 months ago | 0

Answered
Extracting Nodes in MATLAB
File Existence & Path: Ensure new.txt is in the correct directory. Delimiter: Verify that the delimiter in your file matches '|...

2 months ago | 0

Answered
distinguish a two-dimensional image from a three-dimensional in matlab
In MATLAB, distinguishing between two-dimensional (2D) and three-dimensional (3D) images can be done by examining the size of th...

3 months ago | 0

Answered
How do I set a temperature and/or colour range for a surface temperature map of WRF data?
% Load data filename = 'wrfout_d03_2018-07-03_12:00:00'; temp = ncread(filename, 'TSK'); longitude = ncread(filename, 'XLONG'...

3 months ago | 0

Answered
trim a plot and modify mesh
Step 1: Extract Frames Assuming img is your data matrix and you know the dimensions and positions of each frame: % Define fra...

3 months ago | 0

Answered
Please help me to run surf plot with bvp4c.
To create a surface plot using the bvp4c solution in MATLAB, you need to organize your data into matrices that represent the x, ...

3 months ago | 1

| accepted

Answered
marsbar ROI export error
To resolve the MarsBaR error regarding a non-existent file path: Check ROI Paths: Ensure your ROI files don't reference old or ...

3 months ago | 0

Answered
This is showing eror. Unrecognized function or variable 'chaincode'. Error in PELATIHAN (line 48) cc(k)= chaincode(G(k)); Please tell me where I am making mistake.
The error "Unrecognized function or variable 'chaincode'" suggests MATLAB can't find the chaincode function. Here's how to resol...

3 months ago | 0

Answered
Cannot saveas SVG file with error "using alternatePrintPath"
To resolve the error when exporting a .svg from MATLAB with grouped bar charts and a categorical x-axis: Switch Renderer: Use o...

3 months ago | 0

Answered
how to create a histogram for featim?
Here are some points to consider: Variable Scope: featim is being overwritten in each iteration of the loop. If you want to cre...

3 months ago | 0

Answered
Why do I receive the error "illegal instruction detected" when i run SPMMouse on Matalab 2014a?
To resolve the "illegal instruction detected" error in MATLAB 2014a with SPMMouse on Windows 11, try the following: Run in Comp...

3 months ago | 0

Answered
Clustering GPS times based on the hour of the day
To simplify your function, you can convert the timestamp to MATLAB's datetime format (https://www.mathworks.com/help/matlab/ref/...

3 months ago | 1

| accepted

Answered
problem with operations with a for loop
Since you have not provided the entire code, here is a generic set of steps you can do to figure out what the problem might be. ...

3 months ago | 0

Answered
Sorting set of points
To separate the clusters of red points into individual variables in MATLAB, you can use logical indexing or clustering technique...

3 months ago | 0

Answered
When saving a plot as a vector image, plot lines disappear
The issue of plot lines disappearing when saving a figure as a vector image in MATLAB can sometimes be related to the renderer b...

3 months ago | 0

Answered
I am using quiver3, arrow heads orientation
quiver3(X, Y, Z, U, V, W)(https://www.mathworks.com/help/matlab/ref/quiver3.html) plots arrows with directional components U, V,...

3 months ago | 0

Answered
Both Pcolor color plot and quiver plot in log scale
To plot a pcolor plot with a logarithmic y-axis and overlay it with a quiver plot also in a logarithmic scale, you need to ensur...

3 months ago | 0

Answered
Error envelope/shaded bar on stair plot
As far as I can see, you want to create a shaded error envelope around a stair plot. You need to ensure that the coordinates for...

3 months ago | 0

Answered
I want to plot phase diagram.I have written a code of nullcline and want plot phase diagram
This version of your code includes plotting the nullclines and the phase diagram. It uses the "quiver" function (https://www.mat...

3 months ago | 0

Answered
How to determine the minimum point of a plot?
A function can help you with finding the minimum value of your plot. You can define the function as follows: Inputs: data: The...

3 months ago | 0

Load more