photo

Pallov Anand


Last seen: 1 day ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


I want to plot a transparent triangle
I have the coordinates for the triangle, and I want to plot a triangle. I have been doing like this. W = 0.5; L = 0.3; Pat...

1 year ago | 2 answers | 0

2

answers

Question


How to identify, if the variable is an array or not in a given MATLAB code?
I have the following MATLAB code: How can I identify which one is array and which one is not an array? clc clear all close ...

1 year ago | 1 answer | 0

1

answer

Question


Moving a circle around a point along with it.
Suppose i have a point located at (5,5) having a circle of radius 1 around it. If the point moves from 5,5 to any other point sa...

1 year ago | 1 answer | 0

1

answer

Question


How to give a condition based on the following situation
Suppose there is a condition 'X', and i have two robots R1 and R2. If R1 and R2 both satisfies X, but i want to chose only one ...

1 year ago | 1 answer | 0

1

answer

Question


Track a circular trajectory by solving a QP and using quadprog solver (using CLF approach)
Hi, I am trying to track a circular trajectory i.e. xd = R * cos(t); yd = R * sin(t) using a single integrator and QUADPROG solv...

1 year ago | 1 answer | 0

1

answer

Question


Doubt regarding angles of tan inverse
If I have some error in angles which is defined as: e = psi - psi_d psi and psi_d are assumed to be defined. If I want this an...

2 years ago | 1 answer | 0

1

answer

Question


Getting an error while trying to animate a plot
I have a simple code. I am trying to animate the plot with my code like this: clc clear all close all t_span = 120; dt = 0....

2 years ago | 1 answer | 0

1

answer

Question


Giving a condition in for loop
Let the initial values p (i) = false; i = 1: 10 and I have a condition say a <= b What I want is: 1) I will run a loop for i =...

2 years ago | 1 answer | 0

1

answer

Question


Error using Quadprog toolbox
At some point of ioteration, I am getting this error: Error using ipqpdense The interior-point-convex algorithm requires all o...

2 years ago | 0 answers | 0

0

answers

Question


How to compare the the values of a 3-d dimensional array
Suppose I have a 3-D array, lets say, p(1,n,k) where n varies from 0 to t_span and t_span = 0:dt:80 (dt = 0.01) and k varies fro...

2 years ago | 1 answer | 0

1

answer

Question


How to debug "Value must be a handle" error.
For some expressions of x_k, y_k, E_k, why the error "Value must be a handle" is copming for the follwing code: figure(1) sub1...

2 years ago | 0 answers | 0

0

answers

Question


How to caluclate centroid of a voronoi cell of a voronoi diagram.
Suppose I have generated a voronoi diagram by following code: X=[1 2 1.1 1.3 1.4 1.5 1.3 1.2 1.8 2.1 2.2]; Y=[1.5 1.3 ...

2 years ago | 2 answers | 0

2

answers

Question


I am getting an error "Index in position 1 exceeds array bounds. Index must not exceed 1." Error in "v_x(n) = fmincon(fun_x(n), x0, A_x(n,:), b_x(n,:)); Can someone help"
Here is the code: t_span = 30; dt = 0.01; t = 0:dt:t_span; x(1) = 0; %Initial condition for state x y(1) = 0; %Initial co...

2 years ago | 1 answer | 0

1

answer

Question


I want to implement u_c = argmin ( u_nom - u)^2 subject to \dot(h) + \alpha * h geq 0
let me know how to use argmin subject to an inequality constraint

2 years ago | 0 answers | 0

0

answers

Question


What does ~ signify in: function [x, f, g] = defineSystem(~, params)
function [x, f, g] = defineSystem(~, params) syms p v z % states x = [p; v; z]; f0 = params.f0; f1 = params....

2 years ago | 1 answer | 0

1

answer

Question


What does line number 4 is actually doing, i.e. obj = obj@CtrlAffineSys(params);
classdef ACC < CtrlAffineSys methods function obj = ACC(params) obj = obj@CtrlAffineSys(p...

2 years ago | 1 answer | 0

1

answer

Question


how to calculate the differentiation by diff command ?
I need to calculate the derivative and second derivative of phid and thetad (w.r.t time) for the code given below. Can anyone pl...

2 years ago | 1 answer | 0

1

answer