MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 34 of 208 Ask a Question
How do I plot lines with different line widths?
Leor Greenberger · May 26, 2023 · plot linewidth , cheat sheets , Formatting and Annotation

Hi, I want to do:   plot(x1,y1,x2,y2,'LineWidth',8) but the linewidth propery ends up applying to both lines. Do I have to use two plot functions with a hold on command to have li…

How can I implement an HybridA* Path Planning from a specific Map?
Salvatore Lubertino · May 18, 2023 · MATLAB , Navigation Toolbox , path planning , navigation tool

I have a problem in the Plan using the HybridA* while for what concerns the case of a RRT Path planning, I have no problem to run the script.   I don't know why the different Path…

How to subscribe/publish to custom messages using rosmatlab ?
Nicolas · May 18, 2023 · rosmmatlab , publisher , Robotics and Autonomous Systems , ROS Custom Message Support

I completed the getting started examples and also did some publishing/subscribing from matlab to standard ros nodes, but only for std_msgs. Now I want to use a custom message (foo_…

Matlab ROS : rosbag record from Matlab computer on Turtlebot
Vincent Talon · May 18, 2023 · Robotics and Autonomous Systems , ROS Log Files and Transformations , herald

It is possible to execute the command line to record a rosbag from Matlab to the turtlebot. . I try with     if true % code rosdevice('MyIP','Username','Password') system(d,'rosb…

Use MATLAB Robotics System Toolbox to receive ROS message
wjchen84 · May 15, 2023 · Robotics and Autonomous Systems , ROS Toolbox , Network Connection and , ROS Specialized Messages

I was trying to use Robotics System Toolbox(MATLAB 2015a on windows 7) to communicate with the ROS running on Ubuntu 14.04. The "rosinit" was successful and MATLAB can see the rosn…

Error in readMessages from generated ROS message
Joep Linssen · May 15, 2023 · Robotics and Autonomous Systems , ROS Toolbox , ROS Specialized Messages

Hi all,   I have some custom ROS messages that I have loaded into MATLAB utilizing the rosgenmsg routine. Everything went fine and they show up when calling rosmsg list.   When I…

Edit the labels in Ground Truth Image Labeler.
caesar · May 10, 2023 · gtruth image labeler , mat file , Robotics and Autonomous Systems , Ground Truth Labeling

I had used the Ground Truth Image Labeler app before to label some images for pixel level segmentaion experiment using matlab 2018b. Now I am trying to edit those labels , for inst…

How can I handle the array type of ROS messages ?
Jaehyeon Im · May 10, 2023 · ros , ros message , array , Robotics and Autonomous Systems

I wonder that how can I handle the array type of ROS messages for subscribing or publishing.   For example, I want to publish [ 350 x 2 ] type of ROS message.   To publish ROS ms…

Get a Free Consultation or a Sample Assignment Review!