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

5 månader 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...

5 månader 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...

5 månader 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...

5 månader 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...

5 månader 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...

5 månader 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...

5 månader 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 ...

6 månader 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...

6 månader 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, ...

6 månader 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 ...

6 månader 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...

6 månader 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 ...

6 månader 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...

6 månader 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...

6 månader 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...

6 månader 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...

6 månader 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...

6 månader 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 ...

6 månader 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...

6 månader 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 ...

6 månader 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...

6 månader 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 ...

6 månader 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...

6 månader 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...

6 månader ago | 0

Answered
How to determine the surrounding vertices of a particular node/voronoi cell ?
Hello Aida, To determine the surrounding vertices of all the nodes of the Voronoi cells, you need to identify which vertices be...

6 månader ago | 0

Answered
Put area of Voronoi polygon to exact location
Hello Giometar, I made the following modifications to your code: Removed the call to 'VoronoiLimit' and instead used MATLAB's ...

6 månader ago | 0

Answered
How can I calculate voronoi area?
Hello Muhammet, To calculate the areas of the Voronoi cells, you can use the vertices of each cell and apply a polygon area cal...

6 månader ago | 0

Answered
Working With Reciprocal of Polynomials
Hello Daniel, To convert a polynomial in factored form to regular polynomial form, you can use the poly function in MATLAB. Her...

7 månader ago | 0

Answered
Solve differential equation for a sequence of k values
Hi Carl, Sure, I can help you complete the 'compute_intervals' function. Here’s the complete function: function [tsol, csol] =...

7 månader ago | 0

Load more