Question

How to save a GUI figure in matlab

Like this picture I wanted to save my GUI figure. But I dont know how to do that

3 mesi ago | 3 answers | 0

Question

How to save GUI plots

I have done simulation in GUI, I dont know how to save that Plot now. How can I save it.

4 mesi ago | 1 answer | 0

Question

circles moving with linear velocity

I have made some circles with fill command I want them to move them with some velocity.(linearly) xobs=[7.5 5.1]; yobs=[2.1 8....

4 mesi ago | 1 answer | 0

Question

Randomly moving circles in a graph

I have created circles by the help of fill command. how can I make them movingly linearly. fill(xobs(k)+robs(k)*cos(theta),yobs...

5 mesi ago | 1 answer | 0

Question

Problem with code running

function prm = path_planner % Import Obstacle Locations filename ='Simple2Obst.txt'; delimiterIn = ' '; headerlinesIn = 0;...

5 mesi ago | 0 answers | 0

Question

function calling problem in my main

function [O]=fitness(x1,y1,x2,y2,start,goal) dis=distance(start,goal); theta=pathsmoothness (x1,x2,y1,y2,goal); z=dis+theta; ...

5 mesi ago | 0 answers | 0

Question

Trouble in writing equation

I am trying to create a function for following equation but getting no luck. I tried the following code but i dont know ...

6 mesi ago | 0 answers | 0

Question

Need help in writing this equation in MATLAB.

I am trying to make objective function in MATLAB and trying to write this equation in MATLAB but donot know how write and make f...

6 mesi ago | 0 answers | 0

Question

how to create objective functions

I have two objective functions and I am not getting how can I write them in matlab.

7 mesi ago | 0 answers | 0

Question

Conversion of C code to matlab code

I have a piece of code (arduino code) and I need to change it into MATLAB code. And I donot know how to do that. Can somebody p...

7 mesi ago | 1 answer | 0

Question

how to make different points movable in MATLAB

I wanted help in making different point moving with constant velocity. All points should be moving at constant speed.

8 mesi ago | 1 answer | 0

Question

making obstacles moves with dynamic speed

if i have a random obstacles in the mobile robot environment by using matlab , how can i make that obstacle move randomly with d...

9 mesi ago | 0 answers | 0

Question

Making moving obstacles in an matlab

I have created random obstacles in MATLAB, (they are user acquired) now I am trying to make some obstacles randomly moving. I K...

9 mesi ago | 1 answer | 0

Question

I have question related to occupied and non occupied spaces in MATLAB.

My research is related to finding the optimal path via avoiding obstacles. I have created random obstacles and a target with rob...

9 mesi ago | 1 answer | 0

Question

I am making goal position on matlab by the help of cursor. Like every time when code runs the position of target is different. Now my question is how can I get the location of that goal so that I can use it for calculating distance. The code

h=msgbox('Please Select the Target using the Left Mouse button'); uiwait(h,5); if ishandle(h) == 1 delete(h); end xlabe...

circa un anno ago | 0 answers | 0

Question

Can somebody explain this function?

function feasible=feasiblePoint(point,map) feasible=true; % check if collission-free spot and inside maps if ~(point(...

circa un anno ago | 1 answer | 0

Question

How can I get two different inputs on map ? like separate x and separate y by using ginput? like when I click first time I get x input and when click second time I get y value. the code which i am trying is below?

pause(1); h=msgbox('Please Select the centre for circle 1 using the Left Mouse button'); xlabel('Please Select the centre for ...

circa un anno ago | 0 answers | 0

Question

How walls and obstacles can be created in matlab with using some shapes or sqaures (grid map)?

I am doing SLAM, I have been told to create map for robot which will see it and if any obstacle is found it will avoid it and at...

circa un anno ago | 0 answers | 0

Question

can anybody explain this function? what is the meaning of Q(1) ,Q(2)?

function [h]=sensor_view(Q,radius) x=Q(1); y=Q(2); theta=Q(3);

circa un anno ago | 0 answers | 0

Question

Can anybody explain the line part in code. What is the meaning of Corner1 (2) means?

line([corner1(2);corner2(2);corner3(2);corner4(2);corner1(2)],[corner1(1);corner2(1);corner3(1);corner4(1);corner1(1)],'color'...

circa un anno ago | 1 answer | 0

Question

How mapping and localization can be done without using path following technique for robots?

Can anybody help me with matlab code. (I cannot use Matlab built-in libraries)

circa un anno ago | 0 answers | 0

Question

I am working on obstacle avoidance and path following code. For which I have made different functions in matlab. My question when ever I run them it says "Not enough input arguments".Is this is the problem with Matlab software ,I am using R2017a.

code for obstacle drawing function drawObstacles(obstacles) if(~ isempty(obstacles)) plot(obstacles(:,1), obstacl...

circa un anno ago | 0 answers | 0