Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [matlab]

MATLAB is a high-level language and interactive programming environment for numerical computation and visualization developed by MathWorks.

2
votes
2answers
1k views

How can I get the values of a IMU from the serial message received in Simulink via UART?

I try to read IMU sensor data from an Arduino mega 2560 UART with serial receive block of Arduino support package for simulink. The IMU can send binary packets and also nmea packets and I can ...
2
votes
2answers
2k views

Gyroscope - How can I remove low frequency component with a high pass filter only?

I'm using Matlab to suppress low frequency components with a high pass filter. Objective Filter angular velocity measurements affected by high frequency noise and bias in order to get the best ...
6
votes
1answer
4k views

MATLAB 3D Simulation with SOLIDWORKS model

I'm learning to make a 3D simulation in MATLAB based on a model designed from SOLIDWORKS. There is an example: SIMULINK+SOLIDWORKS The way used here is: Create a 3D model in SOLIDWORKS Create a ...
1
vote
1answer
209 views

Matlab: System simulation with dynamic state matrix / input matrix [closed]

I have the following system: $$\dot{x} = A(t)x+B(t)u$$ $$y = x$$ $A(t)$ and $B(t)$ are actually scalar, but time-dependent. If they would be constant, I could simulate the system in Matlab using: <...
1
vote
1answer
611 views

7DOF inverse kinematics spherical wrist

Is it possible to apply kinematic decoupling for a 7 DOF 7R manipulator with spherical wrist? If it is possible, can anyone suggest a reference on how to apply this approach with a redundant ...
2
votes
1answer
401 views

Human arm inverse kinematics

Hi I want to implement an human arm robot and a task such as moving a glass between two points using Robotic Toolbox for Matlab by Peter Coorke. I'm a student and I'm a newbie in this kind of things ...
1
vote
1answer
235 views

Matlab Control Toolbox root locus

I'm using the control system toolbox provided by matlab to estimate the gains of my controller: using root locus design I get a graph like this one . My question is: what is the x on the x-axis? ...
2
votes
1answer
527 views

Quadcopter PID output and duty cycle conversion

I'm trying to design two PD controllers to control the roll and pitch angle of my quadcopter and a P controller to control the yaw rate. I give to the system the reference roll, pitch and yaw rate ...
0
votes
2answers
331 views

Matlab toolbox (Windows) for Sick lasers?

Does anybody know where I can get a matlab toolbox or functions to work with a SICK laser-scanner (Windows OS)? I'm using a SICK-LDRS2110 with ethernet cable, but SOPAS software does not allow me to ...
1
vote
1answer
435 views

position control for linear model of quadrotor (problem with tracking task)

Lately, if you notice I have posted some questions regarding position tracking for nonlinear model. I couldn't do it. I've switched to linear model, hope I can do it. For regulation problem, the ...
1
vote
1answer
377 views

Stereo vision in Matlab [closed]

I am working on a project about robot soccer vision. How I utilize two webcams as a stereo vision in matlab for robot soccer matters?
6
votes
2answers
3k views

how to implement and code inner and outer PD controllers for quadrotor for position tracking

The quadrotor system is multi-ODEs equations. The linearized model is usually used especially for position tracking, therefore one can determine the desired x-y positions based on the roll and pitch ...
0
votes
0answers
102 views

Pole placement gains tuning

given my control system I have found the region of the complex space that satisfies my specifications, determining poles position in 0.5 +- 0.2i. Now I want to find the gains that fix the desider ...
0
votes
3answers
100 views

Help to dimension the right controller for the following Tranfer Function

I have a generic problem to create a controller for the following system: $$\ddot{x}(t) = a y(t)$$ where $a$ is a constant real value. The system could be seen as an equivalent of a mass-spring-...
1
vote
6answers
4k views

How do I work out the kinematic solution of a robot arm?

I draw a robotic arm in Solidworks, but I'm not so sure about how to find out the DOF, forward and backward kinematic. Could anyone help me understand how to work out the kinematic solution of this ...
2
votes
3answers
1k views

RGB-D SLAM - Compute Information Matrix

currently im working on a RGB-D SLAM with a Kinect v1 Camera. In the front-end the SLAM estimates the pose with Ransac as an initial guess for the ICP. With the pose estimation i transform the ...
1
vote
4answers
218 views

Why I'm getting very long terms in the inertia matrix (or dynamics model) of the robot using matlab script?

I'm working on the dynamics model of a RRRR articulated robot, I'm following Euler-Lagrange approach and developing my code in m-file in matlab; I'm looking for dynamic model of this form: $$ D(q) \...
0
votes
2answers
561 views

how to plot a line between two centroids in matlab

I am able to locate centroids of each blocks, but i am unable to join two blocks with a line segment by avoiding the obstacle as shown in the figure. Please need help how do i achieve this using ...