Respondida
using a nested for loop to walk through two matrix
Use [S(s),T(t)] instead of [s,t]

alrededor de 13 años hace | 0

| aceptada

Respondida
A= [2 3 4]; B=[2 3 4]; Output C=[22 33 44]; Merge 2 matrix elements
here it is A= num2str(A) B = num2str(B) C=strcat(A',B') C=str2num(C)

alrededor de 13 años hace | 0

Pregunta


What are the best practice in mex ?
I have written a code in MEX to check its speed against the fully vectorized m-files. My codes are slower than m-files. My quest...

alrededor de 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


How to know the sequence of file in a large project
HI Friends, I have a large project in which t...

alrededor de 13 años hace | 2 respuestas | 0

2

respuestas

Respondida
Finding Circles in an Image. Hough Transform, Tao's CircularHough_Grd algorithm, Matlab's infindcircles
Hi Rohan, The intensity of the ball must be near to zero. So Histogram intensity below specific value needed to be taken...

alrededor de 13 años hace | 0

Respondida
image to an array
Why do you wanna write an image into an array. Use reshape if you really want.

alrededor de 13 años hace | 0

Respondida
writing more than 1 function in a file
Use local functions See the link <http://www.mathworks.in/help/matlab/matlab_prog/local-functions.html?s_tid=doc_12b>

alrededor de 13 años hace | 1

Respondida
STANDARD HOUGH TRANSFORM TO DETECT ELLIPSE AND CIRCLES
A simple solution is for say a circle of radius r. Pick up 10000 (any large number ) values between -r and r and feed them in va...

alrededor de 13 años hace | 0

Respondida
problem with alternative way to do imcrop
Select the pixels you want say for image I a cropped region will be I = I(1:x,1:y)

alrededor de 13 años hace | 0

| aceptada

Respondida
how to write such that in matlab
You have to use lagrange multiplier. You can easily understand it from here <http://en.wikipedia.org/wiki/Lagrange_multiplier> a...

alrededor de 13 años hace | 0

Respondida
Connected Neighbourhood / Regional Maxima - Image Processing
Hi Sriram, It won't be. You have to see the entire connected component. Look at 3rd column and 3rd row 13 it is connec...

alrededor de 13 años hace | 0

Respondida
If I have to minimize a function with 2 variables (f(x,lamda))and I have a condition on one of these 2 variables(lamda>=0), how can I find this variable (lamda)? thank u
Hi Hiba, You can use an iterative method. Start with lambda. Differentiate your equation with lambda. Change lambda on th...

alrededor de 13 años hace | 0

| aceptada

Respondida
Connected Neighbourhood / Regional Maxima - Image Processing
Hi Sriram, 8-Connected neighborhood means the pixels in left,right,up,down,left up, left down,up right and down right. ...

alrededor de 13 años hace | 0

Respondida
How to make a reference to multiple subelements of a cell without for loop (to create a plot)
Hi Felix, You have to use cell2mat. It converts your code to matrix. You have knowledge about n so pick up every nth ele...

alrededor de 13 años hace | 0

Respondida
Matlab newbie-simple question
Hi Shalini, You can have multiple functions in a file. These are called local functions. Why don't you look at this h...

alrededor de 13 años hace | 0

Respondida
Image or Pattern recognition in Matlab
Hi Matt, It is better to compute features once instead of creating it every time when you run your code. An easy idea is ...

alrededor de 13 años hace | 0

Respondida
How to automate image contrast adjustment using imcontrast or other ways?
Hi Shaun, If you requires similar adjustment you can use histogram equalization in a loop where you can read all the ima...

alrededor de 13 años hace | 1

Pregunta


MEX Function Logical to integer type conversion
Hi, Suppose I have a matlab function which I am calling from mex files is returning logical matrix (or variables) . I want to ...

más de 13 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Using global variables in EMLMEX
Hi all, I have a doubt about how to use global variables in EMLMEX. I tried sending them as parameter but it didn't worked...

más de 13 años hace | 0 respuestas | 0

0

respuestas