Answered
plotting histogram of 3d data.
Hello Farhan To create a categorical histogram of your 3D data in MATLAB, follow these steps: Organize the Data: Merge the dat...

1 year ago | 0

Answered
Spectrum Sharing using Matlab
Hello Vartika, To simulate spectrum sharing between two network operators in MATLAB, you can use a simple model where each oper...

1 year ago | 0

Answered
Hello, I have a problem with for loops and plotting the lines.
Hello Daniil, To plot 181 lines from +90° to -90° using a for loop, you can use the following code. It calculates the starting ...

1 year ago | 0

Answered
Storing variables in Simulink
Hi, To maintain state information across Simulink time steps without using global variables, you can use either Simulink.Signal...

1 year ago | 0

Answered
How to update titles and text annotations of subplots located on the same uitab?
The issue you're facing with the title and text annotations disappearing could be related to the use of hggroup as the parent fo...

1 year ago | 0

Answered
Change active serial port
Hello Khaled, In MATLAB, manage multiple serial connections by creating separate serial port objects for each device. Switch be...

1 year ago | 0

Answered
How can I create a 4D plot using 4 different Vectors.
Hello Arun, To visualize four-dimensional data in MATLAB, you can use a scatter plot where the color or size of the markers rep...

1 year ago | 0

Answered
Is it possible to use MATLAB on slave computer/device for communication to host computer via serial MODBUS (RTU)
Hello Raimundas, Yes, you can communicate with a host/master via a serial port using MODBUS ASCII/RTU in MATLAB, even when your...

1 year ago | 0

| accepted

Answered
UDP and TCP/IP
Hello Hosein, To measure UDP and TCP/IP delay, throughput, jitter, and loss ratio in Simulink: Delay: Use the Time Scope block...

1 year ago | 0

Answered
Establishing Tcp/IP connection in Matlab2007a
Hello Tanvi, Establishing a TCP/IP connection in MATLAB 2007a can be achieved by utilizing MATLAB's built-in functions for netw...

1 year ago | 0

Answered
how to install matlab 2017a to ubuntu 18.04
Hello Rohit, Unfortunately, MATLAB R2017a is not officially supported on Ubuntu 18.04. The supported versions for MATLAB R2017a...

1 year ago | 0

Answered
Bacterial whole genome sequence analysis using Matlab
Hello Anooja, Yes, MATLAB can be used for analyzing bacterial whole genome sequence data, including: Genome Reconstruction: Ut...

1 year ago | 0

Answered
how to do edit table type data and do sliding window in matlab
Hello Huang, To achieve the functionality you described, you can follow these steps to filter records by a specific customer's ...

1 year ago | 0

Answered
output of delaunay triangulation
Hello Gurupriya, Use the code below to calculate the area of each triangle from a Delaunay triangulation: dt = delaunayTriangu...

1 year ago | 0

Answered
what is the process to store the "gaborMag,[]" into a variable like x?
Hello Bhuiyan, To store the gaborMag result into a variable x, you can simply assign it as follows: gaborMag = imgaborfilt(I, ...

1 year ago | 0

Answered
Apply 2D Gabor wavelet in Images
Hello Asim, Below is a sample code to apply 2D Gabor filters to an image at four orientations (0, 45, 90, and 135 degrees) and ...

1 year ago | 0

Answered
different angles for gabor filter
Hello Pat, To apply Gabor filters to a fingerprint image, first load the image. Then, create a set of Gabor filters tailored to...

1 year ago | 0

Answered
Do i have a problem with java?
Hello Gerard, The "NoClassDefFoundError" error is thrown because MATLAB was not able to locate Java Runtime libraries that are ...

1 year ago | 0

Answered
how can i calculate the surface of delaunay triangulation???????
Hello Ali, To calculate the area of a 2D zone using Delaunay triangulation in MATLAB, use the delaunayTriangulation function to...

1 year ago | 0

Answered
To find average of the frames extracted from a video
Hello Srikanth, To calculate the average frame, you need to convert each frame to a numerical array, sum them up, and then divi...

1 year ago | 0

Answered
Define a Matrix 3x3 using matlab
Hello Nemo, It looks like there are a few syntax issues in your MATLAB code. As Azzi mentioned MATLAB does not use := for assig...

1 year ago | 0

Answered
How to define constraints on delaunay triangulation
Hi Amal, To perform Constrained Delaunay Triangulation (CDT) with a set of boundary points, you need to ensure that the triangu...

1 year ago | 0

Answered
how plot two slopes for one curve
Hello Hisham, It understand you want to plot two different slopes for different segments of your data. Based on the image you p...

1 year ago | 0

Answered
Hw can I find out vertices of all the polygons/cells in a voronoi diagram including unbounded cells?
Hello Nidhi, I understand you need the vertices of all the polygons in a voronoi diagram. The 'voronoin' function provides the ...

1 year ago | 0

Answered
How to plot the deformed shape of a truss
Hello Vlasis, To plot the undeformed and deformed shape of a truss, you can follow these steps: Define the node coordinates an...

1 year ago | 0

Answered
face connected skeleton 3d
Hello, To convert a 3D edge-connected skeleton into a face-connected skeleton, you can use morphological operations to enforce ...

1 year ago | 0

Answered
How to create a centroidal voronoi diagram?
Hello Naveen, Implementing a centroidal Voronoi diagram involves using an iterative process to adjust the Voronoi cells so that...

1 year ago | 0

Answered
I need a program with a triangular Bezier patch in matlab
Hello Amina, Creating a triangular Bézier patch involves defining a Bézier surface using a set of control points arranged in a ...

1 year ago | 0

Answered
How to create an offset to the voronoi cells in Voronoi diagram?
Hello Ruban, To create an offset to the Voronoi cells like in the attached image, you can use the 'polybuffer' function in MATL...

1 year ago | 0

Answered
How to delete connections to seeds in polygons whose edges open outward of a delaunay triangulation
Hello Jianan, To exclude connections to seed points in boundary polygons of a Voronoi diagram, you need to identify the Voronoi...

1 year ago | 0

Load more