Questions tagged [matlab]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
201 views

Angle to a circle tangent line

I want to simulate the detection of a moving object by a unicycle type robot. The robot is modelled with position (x,y) and direction theta as the three states. The obstacle is represented as a circle ...
2
votes
1answer
668 views

Driving Rhino DC servo motor using Arduino through commands sending from MATLAB

I have a servo motor (http://robokits.download/documentation/RMCS220x_DCServo_Driver.pdf). I wrote a code in Arduino to rotate it in some defined angles and position. Code is given below: ...
7
votes
2answers
4k 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 ...
6
votes
1answer
5k 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 ...
3
votes
1answer
649 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 ...
3
votes
1answer
61 views

Issue with series command in MATLAB

I have a controller and a plant in series. The controller is 3 input 3 output MIMO system and the plant is also 3 input 3 output system. The bode of the open loop gain, i.e., $$D(z)=C(z)*G(z)$$ ...
2
votes
1answer
112 views

RRT star Convergence

My Code gives the following convergence characteristics, I wanted to know if it is correct Updated code { ...
2
votes
1answer
62 views

How to solve this differential equation using ode23?

Hello! :) What I have here is a gear system I need to simulate using MATLAB and Simulink. To do that, firstly I need to get the differential equation for this rotation (gear) system. I think I ...
1
vote
1answer
295 views

What is exact model of haptic interface system in the paper "Time-Domain Passivity Control of Haptic Interfaces"?

I am trying to simulate the experiments in the paper "Time-Domain Passivity Control of Haptic Interfaces", Hanaford and Ryu, 2002, IEEE transactions on robotics and automation vol .18, No1 about the ...
0
votes
0answers
35 views

Joint space trajectory script unclear

I have a script provided by The MathWorks Inc. that makes a robot end-effector follow both a task space and a joint space trajectory through several waypoints. These trajectories are then plotted in ...
-2
votes
2answers
181 views

Robotic hand simulation in MatLab?

We are doing graduation project and require simulation of the robotic hand to be submitted. And we want to control various parameter in for movement for fingers of robotic hand. We tried it in other ...