Content Feed
질문
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...
약 8년 전 | 답변 수: 0 | 0
0
답변질문
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...
8년 이상 전 | 답변 수: 1 | 1
1
답변질문
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...
9년 이하 전 | 답변 수: 0 | 0
0
답변질문
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 ...
9년 이하 전 | 답변 수: 0 | 0
0
답변질문
get the number of frame of a video using vision.VideoFileReader and VideoReader
Using VideoReader: obj = VideoReader(vidfullfile); obj.NumOfFrames Using vision.VideoFileReader: videoFileRe...
9년 이하 전 | 답변 수: 4 | 1
4
답변질문
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...
약 9년 전 | 답변 수: 1 | 0
1
답변질문
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: ...
약 9년 전 | 답변 수: 2 | 0
2
답변질문
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...
약 9년 전 | 답변 수: 1 | 0
1
답변질문
initialize a multidimensional matrix
Given two numbers: M, N, how to create a matrix: res = MxMxMxMxM...xM, where ndims(res) == N.
약 9년 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 이상 전 | 답변 수: 1 | 1
1
답변질문
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...
9년 이상 전 | 답변 수: 1 | 0
1
답변질문
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). ...
9년 이상 전 | 답변 수: 0 | 0
0
답변질문
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...
9년 이상 전 | 답변 수: 1 | 0
1
답변질문
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 ...
9년 이상 전 | 답변 수: 1 | 0
1
답변질문
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...
9년 이상 전 | 답변 수: 0 | 0
0
답변질문
mex cc file in ubuntu
I've download some code online. The makefile is like following: all: cascade cascade: cascade.cc model.c...
9년 이상 전 | 답변 수: 1 | 0
1
답변질문
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 ...
9년 이상 전 | 답변 수: 3 | 1
3
답변질문
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...
9년 이상 전 | 답변 수: 2 | 0
2
답변질문
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 ...
9년 이상 전 | 답변 수: 1 | 0
1
답변질문
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...
약 10년 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 이상 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 이상 전 | 답변 수: 2 | 0
2
답변질문
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? ...
10년 이상 전 | 답변 수: 1 | 0
1
답변답변 있음
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);...
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);...
11년 이하 전 | 0
| 수락됨
질문
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...
11년 이하 전 | 답변 수: 1 | 0
1
답변질문
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)...
11년 이하 전 | 답변 수: 3 | 0
3
답변질문
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 ...
11년 이하 전 | 답변 수: 1 | 0
1
답변질문
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...
11년 이하 전 | 답변 수: 1 | 0
1
답변질문
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
11년 이하 전 | 답변 수: 3 | 0