Community Profile

zhang


47 total contributions since 2011

Contact

zhang's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


matlab java interface--can not add the user-defined class to the Java class path
I coded a simple class: test and compiled it and put it in the 'D:\Dropbox\projects\ICPR2013\code\java\union_find'. pub...

meer dan 4 jaar ago | 0 answers | 0

0

answers

Question


matlab: calculate the degree given two points in an image
The goal is to rotate an image so that the bounding boxes including the hand instances are all axis aligned. Please see the foll...

bijna 5 jaar ago | 1 answer | 1

1

answer

Answered
Can I use blob detection to detect my hand?
mark

meer dan 5 jaar ago | 0

Question


How do I debug my Java source code that I am calling from the MATLAB environment?
Based on the following link: http://www.mathworks.com/matlabcentral/answers/102080 In order to debug Java code being calle...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


design my own 2d filter
I'm wondering is there a way to define my own 2d filter. Assuming there is a matrix A, I'd like to assign every element of A ...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


get the number of frame of a video using vision.VideoFileReader and VideoReader
Using VideoReader: obj = VideoReader(vidfullfile); obj.NumOfFrames Using vision.VideoFileReader: videoFileRe...

meer dan 5 jaar ago | 4 answers | 0

4

answers

Question


compute a pixel's location in original image given its location in the rotated image and the rotated angle--matlab
There is an image called _rI_ and a pixel _p_ located at _[px, py]_ in this image. The image _rI_ is got by _rI = imrotate(I, an...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


how to traverse a multidimensional array
Given a multidimensional array A = MxMxMx...xM, where ndims(A)=n. My problem can be described by the following pseudo-code: ...

meer dan 5 jaar ago | 2 answers | 0

2

answers

Question


access the element of multidimensional array given the subscript array
Given a multidimensional array A = MxMxMx...xM, where ndims(A)=n and the subscript array b=[a1, a2, ..., an]. How to get A(a...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


initialize a multidimensional matrix
Given two numbers: M, N, how to create a matrix: res = MxMxMxMxM...xM, where ndims(res) == N.

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


apply bsxfun and arrayfun to every row of a matrix
There is two matrix, A and B with size m by 4 and n by 4 respectively. My question is how to apply a function f, which takes tw...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


mex cc files in ubuntu system
I've download some code online. The makefile is like following: all: cascade fconv_var_dim cascade: cascade.cc model...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


failed to start matlabpool using 'local' profile
My desktop runs in Ubuntu 12.04 LTS and the matlab is R2013a. I'm doing local parallel computing(use multicores of my desktop). ...

bijna 6 jaar ago | 0 answers | 0

0

answers

Question


always stuck at job test validate--cluster profile manager
I'm using parallel computing toolbox. Before calling command 'matlabpool', it seems that we need to validate the local profile i...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


failed to open matlabpool
I'm trying to use the following command: matlabpool('open', 8); But it gives me an error: You requested a minimum of ...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


malloc-memory corruption on ubuntu
I'm running a very famous matlab source code on my ubuntu system. It gives me: *** glibc detected *** /usr/local/MATLAB/R2013...

bijna 6 jaar ago | 0 answers | 0

0

answers

Question


mex cc file in ubuntu
I've download some code online. The makefile is like following: all: cascade cascade: cascade.cc model.c...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


mex cpp file in ubuntu
Hi everyone I'm trying to mex a cpp file in ubuntu using the following command. mex triLinearVoting.cpp. It gives me ...

bijna 6 jaar ago | 3 answers | 1

3

answers

Question


access the elements in a matrix given the column indexes
For example x = [1 2 3 4; 5 6 7 8; 9 10 11 12] Given the row indexes vector y = [1 3 4]; I...

ongeveer 6 jaar ago | 2 answers | 0

2

answers

Question


W'*X*X'*W or W'*(X*X')*W, which one is more precision
Hi everyone. When I wrote something like W'*X*X'*W, matlab gives me hint that parenthese X. I did a lot of experiment, when ...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


setting the scale of the Y axis
<<http://vlm1.uta.edu/~zhangzhong/matlab.jpg>> In the above image, I'd like to change 10^1 to a more beautiful way, like 10_s...

meer dan 6 jaar ago | 1 answer | 0

1

answer

Question


how to process cell array
Hi guys I have two cell arrays A, B. A = {[1 -1 1], [2 3 6 5]}; B = {[2 1], [1 4]}; B is the index for A. I'd l...

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


unique function in matlab
Hi guys In the version of R2012a, the unique function has a 'stable' property. Please see the link: <http://www.mathworks...

ongeveer 7 jaar ago | 2 answers | 0

2

answers

Question


function overloading problem in matlab
Hi guys, Does matlab support function overloading? Just like, F(x, y) F(x, y, z) If not, is there any ways to do it? ...

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Answered
how to solve matrix equation
please check the following link: <http://stackoverflow.com/questions/1515296/solving-a-matrix-in-matlab> [U S V] = svd(A);...

ongeveer 7 jaar ago | 0

| accepted

Question


how to solve matrix equation
I'd like to estimate the parameters of the following equation: Ax + By + Cz + D = 0. There are thousands of instance of [x y...

ongeveer 7 jaar ago | 1 answer | 0

1

answer

Question


is it possible to use "find" to process every element of an array without loop
Hi guys, There is an array, saying a1, a2, ..., an. For every element in the array, I want to do something like find(X<ai)...

meer dan 7 jaar ago | 3 answers | 0

3

answers

Question


Given the element in a matrix, how to get the corresponding element in cell array?(cell2mat, mat2cell)
There is a cell array, saying A = {a_1 x b, a_2 x b, a_3 x b, ..., a_n x b}. After doing B = cell2mat(A), I can get a matrix ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


how to use filter2
Hi guys For an image and its associated binary mask, I only want to apply my filter on the pixel whose binary indicator is 1...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


compute the unit vector given the angle
Hi guys, How to compute the unit vector given the direction? Is there any function in matlab to do this task. Thanks

meer dan 7 jaar ago | 3 answers | 0

3

answers

Load more