Community Profile

photo

Ken


7211643 canada inc

Last seen: quasi 2 anni fa Attivo dal 2012

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

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

quasi 2 anni fa | 0

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 2 anni fa | 2 risposte | 0

2

risposte

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

circa 2 anni fa | 0

| accettato

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 0 risposte | 0

0

risposte

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

circa 2 anni fa | 0

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

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

circa 2 anni fa | 0

Domanda


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

circa 2 anni fa | 5 risposte | 0

5

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


incorrect or unexpected brackets
[newx, newy] = ind2sub([nrow, ncol], candidates(whichleast)); next = [next;(end,:)+{newx, newy}]; get error unexpected b...

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 7 anni fa | 0 risposte | 0

0

risposte

Domanda


minimum of 4 integers
Is there a Matlab function to find the minimum of 4 integers? Min only finds for 2 integers

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 7 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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));" ...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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É

oltre 7 anni fa | 1 risposta | 0

1

risposta

Carica altro