Feeds
質問
how to write partial derivatives in MATLAB
I am trying to form a 2X2 matrix using partial derivatives i.e. [delf1/delx1, delf1/delx2; delf2/delx1, delf2/delx2]. Not sure h...
約2年 前 | 1 件の回答 | 0
1
回答回答済み
How to avoid error in anonymous function
Tried as suggested, error Undefined function 'Fx' for input arguments of type 'double'.: f = @(x, u) Fx(x,u)*x(t-1) + Fu(x,u)*u...
How to avoid error in anonymous function
Tried as suggested, error Undefined function 'Fx' for input arguments of type 'double'.: f = @(x, u) Fx(x,u)*x(t-1) + Fu(x,u)*u...
約2年 前 | 0
質問
How to avoid error in anonymous function
I am trying to predict the robot position using the 3 steps below but get error: Fx = @(x,u) jacobian(f(x,u),x); Fu = @(x,u) j...
約2年 前 | 2 件の回答 | 0
2
回答質問
How many multiplications in one convolution
C = [1;2;3]; % i.e. a column vector, hence named "C" R = [1 2 3]; % i.e. a row vector, "R" F = [1 4 6 4 1; 4 16 24 16 4; 6 24 ...
約2年 前 | 1 件の回答 | 0
1
回答質問
Edge detection using Convolution
I am trying to detect the edges in an image using convolution. Tried this but get error " final_lena does not look like it has t...
2年以上 前 | 2 件の回答 | 0
2
回答質問
How to find out what this code does
This code pertains to image processing - line parameters Hough transform. Not sure what the third line does. f=zeros(128,128); ...
2年以上 前 | 0 件の回答 | 0
0
回答質問
Sum of squared differences SSD
How to use SSD to compare datapoints in 2 separate data sets i.e. to compare pixels in 2 images? Is this the best function to u...
2年以上 前 | 0 件の回答 | 0
0
回答質問
Vision Problem using symbolic MATLAB toolbox
I am trying to solve a vision problem in robotis deals with epipolar transforms using symbolic tool box of MATLAB. Tried this bu...
2年以上 前 | 0 件の回答 | 0
0
回答質問
Anonymous Functions - how to store the results of anonymous functions
rng(1) % important for technical reasons U = [ 1 -1 3 4 ]; % an artificial input sequence % applyPredictionUpdate returns the ...
2年以上 前 | 2 件の回答 | 0
2
回答質問
Anonymous function arguments and parameters extrction
If I have the anonymous function: pu = @(x, y) [x,y]; is it npossible to extract the value of the argument x after the functio...
2年以上 前 | 2 件の回答 | 0
2
回答回答済み
Anonymous functions usage when running the following program to apply and then plot a prediction, sensor reading and measurement update Invalid expression.
Thanks, tried but error: "Unrecognized function or variable 'sensorReading'. Error in solution (line 14) applyMeasurement...
Anonymous functions usage when running the following program to apply and then plot a prediction, sensor reading and measurement update Invalid expression.
Thanks, tried but error: "Unrecognized function or variable 'sensorReading'. Error in solution (line 14) applyMeasurement...
2年以上 前 | 0
| 採用済み
質問
Anonymous functions usage when running the following program to apply and then plot a prediction, sensor reading and measurement update Invalid expression.
I get error on the foll. program "Invalid expression. When calling a function or indexing a variable, use parentheses. Other...
2年以上 前 | 2 件の回答 | 0
2
回答質問
How to get a loop to converge
I am trying to get a loop to converge in Inverse Kinematics. I use this line: dq=pinv(J_BF_inB(q*b)); where J_BF_inB is a 3X3 ...
2年以上 前 | 1 件の回答 | 0
1
回答質問
How to access parameters from an anonymous function from another function
I have the anonym function getPLocalTransition. It has x as one of its parameters. I have another function dir; I try to call ...
2年以上 前 | 0 件の回答 | 0
0
回答回答済み
unable to run pinv (Moore Penrose) with accuracy limit
Still not able to get this to converge. Problem is not sure whether to state a tolerance limit i.e. the foot should be in the go...
unable to run pinv (Moore Penrose) with accuracy limit
Still not able to get this to converge. Problem is not sure whether to state a tolerance limit i.e. the foot should be in the go...
2年以上 前 | 0
質問
How to use anonymous functions
I am trying to understand anonymous functions. What exactly does this do: pTransition = [ 0 0 0 0 0 0 .05 ...
2年以上 前 | 1 件の回答 | 0
1
回答回答済み
unable to run pinv (Moore Penrose) with accuracy limit
I think the NRaphson is overkill for this, so will go with your code posted at 5PM yesterday: b = (rGoal-r0 ); tolerance = 1e-...
unable to run pinv (Moore Penrose) with accuracy limit
I think the NRaphson is overkill for this, so will go with your code posted at 5PM yesterday: b = (rGoal-r0 ); tolerance = 1e-...
2年以上 前 | 0
質問
unable to run pinv (Moore Penrose) with accuracy limit
I am trying to use pinv to allow a robot system to converge.I tried but get errors. This is my script stateent : dq=double(pinv...
2年以上 前 | 5 件の回答 | 0
5
回答質問
Unable to run pinv (Moore Penrose) , get errors
Tried the following script: r0=[0,0,0]; dq=double(pinv(J_BF_inB)*(rGoal-r0)); dq=double(subs(dq,[alpha,beta,gamma],[0,0.52,1....
2年以上 前 | 1 件の回答 | 0
1
回答質問
incorrect or unexpected brackets
[newx, newy] = ind2sub([nrow, ncol], candidates(whichleast)); next = [next;(end,:)+{newx, newy}]; get error unexpected b...
7年以上 前 | 2 件の回答 | 0
2
回答質問
umnsin of expressions - x and y are the rows and cols
I am trying to evaluate this, but I want the answer in an expression in x and y since x and y are the rows and cols of a matrix...
7年以上 前 | 0 件の回答 | 0
0
回答質問
minimum of 4 integers
Is there a Matlab function to find the minimum of 4 integers? Min only finds for 2 integers
7年以上 前 | 2 件の回答 | 0
2
回答質問
Anonymous Function - how to impose limits
How to impose max/min limits on anonymous functions i.e. I have to ensure that the current cell does not go beyond this matrix p...
7年以上 前 | 3 件の回答 | 0
3
回答質問
ROBOT LOCALIZATION AND MOTION PLANNING
The state of the robot is fully described by its position and orientation xk=[xk,yk,ϕk]T , expressed in the global coordinate...
7年以上 前 | 2 件の回答 | 0
2
回答質問
Binary Heaps in Matlab
I am trying to code a robot's solution path in Matlab using Binary Heaps and queues. If anyone can help, I will post the problem...
7年以上 前 | 0 件の回答 | 0
0
回答質問
Extract elements from a heap
I am trying an assignment on Heaps i.e. how to extract elements and bubble them down: % binary min-heap container % let ...
7年以上 前 | 1 件の回答 | 0
1
回答質問
How to insert elements in a heap
I am trying to insert elements on to a heap with the code below but get error "conversion to double from struct not possible" ...
7年以上 前 | 2 件の回答 | 0
2
回答質問
Robot Path Planning using grid
Trying to plot a path for a robot from start to goal. I get error in the 2 "for" for x,ystatements. Get error "Subscript indices...
8年弱 前 | 1 件の回答 | 0
1
回答質問
Minimum of a 3X3 matrix
I am trying to find the min and the indices of the min in a 3X3 matrix. want to use a variation of "find(arr == max(arr));" ...
8年弱 前 | 1 件の回答 | 0
1
回答質問
Creation of a simple Gaussian Filter
How to create a Gaussian filter of size 1 x 5 (i.e. a row vector) and sigma=1 to smooth an imageÉ
8年弱 前 | 1 件の回答 | 0