Community Profile

# Ken

Last seen: circa un mese ago Active since 2012

#### Content Feed

View by

Question

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

circa 5 anni ago | 2 answers | 0

### 2

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

circa 5 anni ago | 0 answers | 0

### 0

Question

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

circa 5 anni ago | 2 answers | 0

### 2

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

circa 5 anni ago | 3 answers | 0

### 3

Question

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

circa 5 anni ago | 2 answers | 0

### 2

Question

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

circa 5 anni ago | 0 answers | 0

### 0

Question

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

circa 5 anni ago | 1 answer | 0

### 1

Question

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

circa 5 anni ago | 2 answers | 0

### 2

Question

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

circa 5 anni ago | 1 answer | 0

### 1

Question

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

circa 5 anni ago | 1 answer | 0

### 1

Question

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É

circa 5 anni ago | 1 answer | 0

### 1

Question

usage of not isequal
I am using this line: while not(isequal(OptimalPath(end,2)),SearchGoal) end I get error "not enough input arguments" - pu...

circa 5 anni ago | 1 answer | 0

### 1

Question

Index exceeds matrix dimensions
I have the foll. program and when I run it, I get the above error msg i.e. 'Index exceeds matrix dimensions'. Not sure what caus...

circa 5 anni ago | 1 answer | 0

### 1

Question

Minimum cell of a matrix
I am trying to find the minimum-value cell of a matrix. To simplify, I take a 3X3 matrix, I tried this but no luck. Row1=...

circa 5 anni ago | 1 answer | 0

### 1

Question

Error Masg Matrix Dimensions exceeded
I am struggling over the above error msg. My code is below. Any hints app[reciated. OptimalPath=zeros(40, 2); iter=0; ...

circa 5 anni ago | 3 answers | 0

### 3

Question

Matrix Element Transfer from one matrix to another
I have a matrix of 10X10. I want to select elements of this matrix and put them in an N X 2 Matrix. As example, if one of the se...

circa 5 anni ago | 2 answers | 0

### 2

Question

Convolution and filtering to refine an image to get the horizontal and vertical edges
img = double(lena); % ---- Filters ---------------------- % filter to detect horizontal edges gx = [1;0;-1]./sqrt(2); ...

circa 5 anni ago | 0 answers | 0

### 0

Question

Forward Kinematics and Reverse Kinematics
In Robotics F.K. we have A*Si = B*phi where A, B are known matrices, Si is a vector with x, y and z as its elements, phi is the ...

circa 5 anni ago | 1 answer | 0

### 1

Question

Getting MATLAB for 3 months
Is there an affordable way of buying MATLAB? I need it for a course which does not qualify to buy as a student. Need it only for...

circa 6 anni ago | 0 answers | 0

### 0

Question

Error "Argument must contain a string"
I am trying to code a program to find the least path for a robot but get above error. My code is: while(currentCell ~= Sear...

circa 6 anni ago | 1 answer | 0

### 1

Question

Matrix Transfer of elements
I had asked similar to this before but had not given enough details. So will try again. I am trying to determine the lowest pot...

circa 6 anni ago | 1 answer | 0

### 1

Question

Transfer elements from 1 matrix to another
I have 2 matrices path one is path which is 6x2 and sample8 which is 3X3. I want to extract an element from sample8 and put it i...

circa 6 anni ago | 1 answer | 0

### 1

Question

Student Licence and Course Licence
I am doing an MIT course for which I already have a student licence. This expires end Dec. Can I buy a student licence now and w...

circa 6 anni ago | 1 answer | 0

### 1

Question

how to run the example program in Ch 4 pg 4-6 "continue"
I keyed in the lines of code given and do not get any result and no cursor

circa 6 anni ago | 0 answers | 0