photo

AKennedy


Active since 2023

Followers: 0   Following: 0

Spoken Languages:
English

Statistics

  • 12 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How to sum different histograms in just one?
To sum different histograms into one using the histogram function in MATLAB, you can Accumulate Histogram Counts: Use the histc...

3 days ago | 0

Answered
How to pass 3D surfaces over each other?
To simulate a grinding process where a rough surface moves over a smooth surface, you can visualize the interaction by overlayin...

3 days ago | 0

Answered
group objects of a multiple line plot
To group lines in a plot based on a specific column in your table, you can use a combination of MATLAB's plotting functions and ...

3 days ago | 0

Answered
Using VHDL package files in Simulink
To use VHDL package constants directly in a Simulink model without importing them into the MATLAB workspace, you can Use HDL Ve...

3 days ago | 0

Answered
backwardTape used in MATLAB2021a
In MATLAB, built-in functions like backwardTape are typically part of the proprietary codebase and are not directly accessible o...

3 days ago | 0

Answered
In MATLAB I get the following python error: AttributeError: 'module' object has no attribute 'fmi'
It looks like the issue you're encountering is related to how MATLAB interfaces with Python and the specific module you're tryin...

5 days ago | 0

Answered
What is an equivalent for vl_nnconv in python?
If you are comfortable coding with MATLAB, you can make use of MATLAB engine API for Python. With this feature, you will be abl...

5 days ago | 0

Answered
Combining plots with Python
There is no direct way to combine MATLAB and python plots, but there is tweek that you can try: Create your plots in MATLAB and...

5 days ago | 0

Answered
How can I solve the problem about "input 2 expects a value in range [-3 3]"with fuzzy logic controller?
You could try to Normalize the dataset by dividing each input by its maximum value to ensure uniform scaling. Ignore errors by...

12 days ago | 0

Answered
How can I active "Perform channel analysis" option in Paralle link designer simulation?
It is possible that the "perform channel analysis" option is inactive because the necessary parameters have not been set. Please...

12 days ago | 0

Answered
ploting 1D eigenvector using ffmatlib
Yes, you can plot a 1D eigenvector in MATLAB. Since the eigenvector is 1D, you can simply use the “plot” function to visualize i...

12 days ago | 0

Answered
Editability of Files Packaged into MATLAB Toolbox File (mltbx file)
To ensure that the files within the MATLAB Toolbox File (.mltbx) are read-only after installation, you can consider the followin...

17 days ago | 0

Answered
importlib.reload(matlab.engine) is not working
It seems like you are encountering issues when trying to dynamically switch between different versions of the MATLAB engine in P...

17 days ago | 0

Answered
proper syntax to retrieve quandl equity
I found a github repo regarding Quandl and how to access it with Python. Here is the github link: https://github.com/quandl/quan...

17 days ago | 0

Answered
Could MatLAB model be exported to FMU without Simulink?
Exporting a MATLAB model directly to FMU for co-simulation without using Simulink is not straightforward, as the FMU export func...

17 days ago | 0

Answered
Convert Voronoi diagram to shape file
To convert a Voronoi diagram into a shapefile and plot it in Google Earth, follow these steps: Generate Voronoi Diagram: Use MA...

17 days ago | 0

Answered
How to create function that control speed of stepper motor?
Hi, The direction logic seems incorrect. You should set "direc" based on the sign of "steps_to_move". If "steps_to_move" is pos...

17 days ago | 0

Answered
Adding Volshow Plot to Existing Figure
Hi, To display volumetric data using "volshow", you can refer the following documentation: https://www.mathworks.com/help/imag...

17 days ago | 0

Answered
How to fill a triangle in an circular mesh in pdeplot?
From what you have described, here's how I would approach it Identify the Inner Circle Elements: Determine which elements (tria...

2 months ago | 0

Answered
How to make a density map (per square km per year)
You can modify this code and try it to get a density map. % Load the .mat file data = load('file.mat'); % Extract latitude...

2 months ago | 0

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

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

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

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

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

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

6 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', ...

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

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

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

6 months ago | 0

Load more