Ken - MATLAB Central
photo

Ken


Last seen: 2 days ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

MATLAB AnswersFrom 01/12 to 03/25Use left and right arrows to move selectionFrom 01/12Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%

RANK
260,295
of 297,307

REPUTATION
0

CONTRIBUTIONS
45 Questions
6 Answers

ANSWER ACCEPTANCE
42.22%

VOTES RECEIVED
0

  • Thankful Level 3

View badges

Feeds

View by

Question


Why do I get conj(L)
When I multiply 2 4X4 matrices one numeric the other alpha numeric say with L1,L2,L3, L4 why do I get the answer with cconj(L1,L...

2 days ago | 2 answers | 0

2

answers

Answered
Diferent answers to same cmd
As mentioned earlier, I am trying to get familiar with MATLAB in aircraft controls. Focus now is Matlab. I saw a presentation wi...

11 days ago | 0

| accepted

Answered
Diferent answers to same cmd
A=[-.01 .1 0 32.2;-0.4 -.8 180 0;0 -.003 -.5 0;0 0 1 0] B=[0 -10 -2.8 0]' P=ctrb(A,B) P=poly(P)

11 days ago | 0

Question


Diferent answers to same cmd
I am trying to figure out Matlab. Tried the cmd shown in the attachment, get different response(see attachment)

11 days ago | 2 answers | 0

2

answers

Question


How to compute the characteristic equation given the eigenvalues?
Is there a matlab command to get the characteristic equation (CE) given the eigenvalues? Similarly how to get CE from the A matr...

12 days ago | 2 answers | 0

2

answers

Question


Use of functions ctrb and poly
I have 2 matrices A, B. I use ctrb(A,B) to get matrix P and then try to use poly(P) to get the polynomial of P but get error msg...

13 days ago | 1 answer | 0

1

answer

Question


How to get damping ratio and nat freq from eigen values using matlab cmd
I have a 4X4 matrix, and have 4 desired eigenvectors.How to get the natural freq and damping ratio with these eigenvectors

14 days ago | 0 answers | 0

0

answers

Question


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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 0

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 0 answers | 0

0

answers

Question


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

3 years ago | 0 answers | 0

0

answers

Question


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

3 years ago | 0 answers | 0

0

answers

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 2 answers | 0

2

answers

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

3 years ago | 0

| accepted

Question


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

3 years ago | 2 answers | 0

2

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 0 answers | 0

0

answers

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

3 years ago | 0

Question


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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 0

Question


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

3 years ago | 5 answers | 0

5

answers

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 2 answers | 0

2

answers

Question


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

8 years ago | 0 answers | 0

0

answers

Question


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

8 years ago | 2 answers | 0

2

answers

Question


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

8 years ago | 3 answers | 0

3

answers

Load more

Go to top of page