15 total contributions since 2014

Student

Professional Interests: Robotics, Algorithms, Dynamic Control

Question

How to define the variables as 'Global variables' within a Matlab Function block in Stateflow?

I am trying to read some variables calculated in a Matlab Function defined in stateflow without calling them locally by the vari...

4 years ago | 0 answers | 0

Question

What is the best way to do some calculation within a state in stateflow?

Dear all, I'm bit confused of selecting a method to do some calculating program in a 'State' of the Stateflow. I do have to cal...

4 years ago | 1 answer | 0

Question

How to estimate the accuracy for an estimated tine segment when actual line is known?

Suppose I have a set of XY coordinates (pink dots including noise)which is a measured values of a line segment (Black line). Aft...

5 years ago | 1 answer | 0

Question

How to estimate the accuracy for an estimated tine segment when actual line is known?

Suppose I have a set of XY coordinates (pink dots including noise)which is a measured values of a line segment (Black line). Aft...

5 years ago | 0 answers | 0

Solved

Distance walked 1D

Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

5 years ago

Question

How to create a Tangential potential field?

Dear Matlab users, I'm looking for generating a tangential potential field around a given point as shown in the figure. <</m...

5 years ago | 0 answers | 0

Question

How to use lsqlin for best line or ploynormial fitting?

I have a set of X and Y data only. X=[-11 -10 -9 -8 -6 -4 -2 0 1 2 ] Y=[ 3 5 1 4 6 10 12 12 12.5 12] ...

5 years ago | 1 answer | 0

Question

Least Squares Method for best line fitting

I have a set of X and Y coordinates data taken from Laser scanning X=[x1 x2 x3 x4 .....] Y=[y1 y2 y3 y4 .....] Eleme...

5 years ago | 1 answer | 0

Question

Line segment algorithm for LRF data

I want to cluster the LRF scanned data into the clusters by line segmentation method. environment is consisting of walls or flat...

5 years ago | 0 answers | 0

Answered

How to convert 2 byte data to integer?

Hello everyone, Thanks a lot for the help. Finally I could do it. % Two byte array [lower bit , higher bit] x=uint8[178 2...

How to convert 2 byte data to integer?

Hello everyone, Thanks a lot for the help. Finally I could do it. % Two byte array [lower bit , higher bit] x=uint8[178 2...

6 years ago | 0

Question

How to convert 2 byte data to integer?

I have a two byte data (unsigned) as array. e.g. x=[255 67] I read the data from a sensor giving a stream of byte data (u...

6 years ago | 3 answers | 0

Question

How to create a Serial port communication mex file in C++ to use in MATLAB?

Dear all, I am looking for using mex file written in VS C++ for serial port communication to make it fast in MATLAB. I wan...

6 years ago | 0 answers | 0

Question

How to create a C++ or C# dll file (for serial port communication) to use it in MATLAB (M-file)?

Dear programmers, I want to develop a fast serial port ('COM' port) program to read and write data to COM port. Senor (Hokuyo...

6 years ago | 0 answers | 0

Question

How to refresh the data in polar plot

I wanna refresh the data of polar plot with new data set. How can I use *_set_* or _*refreshdata*_ in the program? I know ...

6 years ago | 1 answer | 0

Question

variable forced Mass-spring-damper system Matlab script or Simulink model.

I have a mass-spring-damper (MSD) system but the external forced applied to the mass is time varying. The external force is calc...

6 years ago | 0 answers | 1