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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0
1
个回答提问
incorrect or unexpected brackets
[newx, newy] = ind2sub([nrow, ncol], candidates(whichleast)); next = [next;(end,:)+{newx, newy}]; get error unexpected b...
7 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...
8 years 前 | 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...
8 years 前 | 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 ...
8 years 前 | 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" ...
8 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0