Community Profile

photo

Pallov Anand


Last seen: environ 2 mois il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

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...

7 mois il y a | 2 réponses | 0

2

réponses

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 ...

9 mois il y a | 1 réponse | 0

1

réponse

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...

12 mois il y a | 1 réponse | 0

1

réponse

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 ...

12 mois il y a | 1 réponse | 0

1

réponse

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...

12 mois il y a | 1 réponse | 0

1

réponse

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...

environ un an il y a | 1 réponse | 0

1

réponse

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....

environ un an il y a | 1 réponse | 0

1

réponse

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 =...

environ un an il y a | 1 réponse | 0

1

réponse

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...

environ un an il y a | 1 réponse | 0

0

réponse

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...

environ un an il y a | 1 réponse | 0

1

réponse

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...

plus d'un an il y a | 1 réponse | 0

0

réponse

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 ...

plus d'un an il y a | 2 réponses | 0

2

réponses

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...

plus d'un an il y a | 1 réponse | 0

1

réponse

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

plus d'un an il y a | 1 réponse | 0

0

réponse

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....

plus d'un an il y a | 1 réponse | 0

1

réponse

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...

plus d'un an il y a | 1 réponse | 0

1

réponse

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...

plus d'un an il y a | 1 réponse | 0

1

réponse