Answered
matrix reshaping
reshape(A',1,[])

14 years ago | 0

| accepted

Answered
how to solve a linear equation?
doc mldivide

14 years ago | 0

Answered
Question about k means clustering
Isn't it the idx variable which you have plotted in different colors?

14 years ago | 0

| accepted

Answered
image to x-y coordinate
you need to calibrate the camera http://www.vision.caltech.edu/bouguetj/calib_doc/

14 years ago | 0

Answered
Need help finding real life multivariate datasets to test my program.
what about Fisher's Iris data? <http://en.wikipedia.org/wiki/Iris_flower_data_set iris>

14 years ago | 0

Answered
Using contourmatrix to create contour
umm...I'm guessing contour(modifiedContourMatrix)

14 years ago | 0

Answered
Help with Matrix Multiplication
the r in the equation is the position in x,y,z of the applied force. once you get that you can use cross(r,f) to get the...

14 years ago | 0

| accepted

Answered
Symbolic Solver Question
once you have declared syms v, do *not* submit the equation to solve in quotes. use double() to convert your answer to floating ...

14 years ago | 1

| accepted

Answered
getting distance between each of the meshgrid point from predefined points in the plot
I don't fully understand, but you might want to look at changing this line to include the k dimension dist(i,j,k)=((busc(k,...

14 years ago | 0

Answered
equation
cumtrapz(z.*Az) % assuming z & Az are numerical column vectors

14 years ago | 0

Answered
Additive Gaussian noise channel
see my comment <http://www.mathworks.com/matlabcentral/answers/21226-how-do-i-create-a-random-variable-which-is-exponential-with...

14 years ago | 0

Answered
How do I create a random variable which is exponential with a mean of 2
if you have the statistics toolbox: exprnd() to roll your own x = -2*log(rand)

14 years ago | 0

| accepted

Answered
matrix and binary bits
dec2bin([1:5]) ans = 001 010 011 100 101

14 years ago | 0

Answered
Undefined function error
change these lines: if txtisalpha==1 elseif txtisalpha==0 to if txtisalpha(j)==1 % txtisalpha is a vector else ...

14 years ago | 0

| accepted

Answered
Stochastic Matrix Computation
try using the matrix given to you Px = 0.5000 0.2000 0.3000 0.3000 0.7000 0.3000 0.2000 0.1...

14 years ago | 0

| accepted

Answered
Matrix Multiplication Help
c = b'*a

14 years ago | 2

| accepted

Answered
plotting simple symbolic equation
where to begin... first since you have declared t to be symbolic, you can define your equation to be eq = -0.12*t^4+12*...

14 years ago | 0

Answered
visualizing large datasets in matlab
Have you tried changing renderers (zbuffer opengl)? or use this FEX submission <http://www.mathworks.com/matlabcentral/fileex...

14 years ago | 0

Answered
1.0010 DOES NOT EQUAL 1.0010
see http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F did you check that they we...

14 years ago | 0

Answered
Very easy issue with division
do a whos(resolution) whos(x) You will find that x is a double and resolution is an int32. Since resolution/1e6 is c...

14 years ago | 0

Answered
Produce an eggbox
The hint explicitly said element-by-element multiplication which is accomplished via M12 = M1.*M2 % note the use of .*

14 years ago | 0

| accepted

Answered
better detection of -45 degree line edges using kernel
maybe take a look at hough() houghlines()

14 years ago | 0

Answered
obtain P values from Chi-square
if you have the stats toolbox: chi2cdf(n,dof);

14 years ago | 1

| accepted

Answered
Using the Solve function with Sine and Cosine and Multiple Defined Variables
a different approach from Walter's: alpha=(0.676315085:.01:1.40935337); b=9.25; d=14; a=13; c=11; fx = zeros(numel(alp...

14 years ago | 0

Answered
Input argument
try r = fzero(@f1,.5)

14 years ago | 0

Answered
dlmwrite help
I don't think you can, try fprintf()

14 years ago | 0

Answered
How to avoid Excel using Matlab
I think basically it comes down to: do you want a tool developed for accounting or technical computing *[edit]* on second thou...

14 years ago | 0

Answered
project ideas
I don't know about kinect, but a wii mote looks pretty cool http://www.ted.com/talks/lang/eng/johnny_lee_demos_wii_remote_hac...

14 years ago | 0

Answered
How to troubleshoot mtimes/times error in matrix multiplication
this line, w=w'*[x2 x1 1]'+K*epsilon; changes w from (3x25) to (25x1), combined with the use of persistent w; w...

14 years ago | 0

Answered
sudoku generator and solver
http://blogs.mathworks.com/pick/2011/07/01/video-sudoku/

14 years ago | 0

| accepted

Load more