Community Profile

photo

J AI


Last seen: 9 Monate vor Aktiv seit 2019

Followers: 0   Following: 0

Statistiken

  • First Answer
  • Revival Level 1
  • First Review
  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Changing initial conditions of a Simulink model when simulating using a for loop
I am trying to run a vehicle simulink model (taken from here) for 5 seconds. When I try running it directly, the response seems ...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


ODE response vs CCF response of mass-damper-spring system
Could someone please explain why is that the (zero-input) response obtained using ode45 solver is different than the CCF (contr...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Observer design using observability staircase form
My original system (A, B, C, D) is observable, however, when I convert it to observability staircase form using obsvf function, ...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Issue with simulating linear system using lsim inside a for loop
s = tf('s'); Gm = 2163/(s^2 + 80*s + 2163); samplingTime = 2e-3; totalTime = 0.5; time = 0:samplingTime:totalTime; r = 80...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Resampling of xy-coordinates based on cumulative length (NOT time)
I have found a workaround for this which works for my particular application. I have basically used the polyfit function: load(...

fast 3 Jahre vor | 0

Frage


Resampling of xy-coordinates based on cumulative length (NOT time)
The cumulative lengths for a set of x1 and y1 coordinates ("waypointsOriginal" in the mat file attached) can be obtained using t...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Setting initial condition of State Space model (not block in Simulink)
I know how to set initial conditions of a state space model when using the state-space block in Simulink. However, how is it don...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
State space manual initial condition
Double click the integrator and you can set the initial condition there directly. 6 years late to reply but still worth a reply ...

etwa 3 Jahre vor | 1

Beantwortet
Getting trajectory for each time sample using drivingScenario from Automated Driving Toolbox
I actually found the answer - it was just under my nose. After the scenario has been completed, I simply had to run the followin...

etwa 3 Jahre vor | 0

| akzeptiert

Frage


Getting trajectory for each time sample using drivingScenario from Automated Driving Toolbox
I have created a very simple highway scenary using the drivingScenario from Automated Driving Toolbox, however, I am not sure of...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Draw rotated rectangle with rounded edge
I found the answer to drawing rotated rectangles using the solution provided here by Y Yoon. However, I am not sure how to integ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is there any existing POMDP library/function in MATLAB?
I am looking for an existing Partially Observable MDP (POMDP) library/function that implements a simple POMDP problem using, let...

mehr als 3 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Issue with defining inputs in classdef and getting properties updated
I am defining a simple DC motor (the technical background is not necessary to understand my question) using the class file attac...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Sort rows of a table by column within a variable
I have a table: T = a v ________ _______________________________ ...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Finding unique rows using "uniquetol" from top
It seems like there is no option for finding unique rows from top using uniquetol unlike unique where there is option for the ar...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Combination of rows of two different matrices
Sorry if this is a repeated question but I failed to find an answer myself. I have two matrices: A = [-0.6, -0.2; -60, ...

fast 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Help with column-wise matrix manipulation without for loop
I have the matrix (which is basically the matrix representation of several lines) A = [10 5 10 % first two columns are...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Generating dispersed (non-integer) random matrix/array that sums to a particular value
One of the most suggested (in fact the only one to my finding) for generating random numbers (<1) that will sum to 1 is Random V...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Issue with finding intersection between randomly generated matrices
I have two matrices randomly generated A and A_new (subset of A). When I use the intersect command, very surprisingly it negates...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Bug in 2020a using "ismember"?
When I am trying to use the "ismember" command in 2020a, I get werid stuffs. e.g., A = [1 2 3; 4 5 6; 7 8 9]; B = ...

fast 4 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


Finding last non-zero rows for individual columns of a matrix without loops
I have the following code: A =[1 2 3; 1 0 1; 0 5 1; 1 0 2; 2 3 ...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


A complicated matrix manipulation
So I have a matrix, let's say A = [1 2; 1 0; 3 2; 0 1; 2 1; 1 2]; [r,c] = size(A); In general, wha...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding rows/indices by comparing individual elements of rows of one matrix to another
Let's say I have a matrix and a matrix as follows: and I want to find the indices of rows in such that the row elements a...

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


DQN weight update using Mean-squared error (MSE)
I am desiging a DQN from scratch. I am stuck because I am not sure how to update the weights in the policy network. The structu...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I create a matrix surrounding the center element?
I want to create a matrix (n by n, n being odd) that has its central element fixed, and its surrounding elements increasing/decr...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten