Answered
Conversion to double from sym is not possible.
you don't need the for loop ezplot(x,vel,[0,100])

14 years ago | 0

Answered
Loop is killing proccesor.
I was going to comment but I thought my reply might be better an answer. You can preallocate as long as you know apriori what t...

14 years ago | 0

Answered
Metrics for Matrices similarity
you can try using their eigenvalues: x = norm(eig(a)-eig(b)); % a & b are your 2 matricies

14 years ago | 0

| accepted

Answered
Loop is killing proccesor.
yes, you need to pre-allocate NumLine

14 years ago | 0

| accepted

Answered
control chart
you do not need x values. st = controlchart(y,'chart',{'xbar' 'r'});

14 years ago | 1

| accepted

Answered
Need help for Cordic Function implementation
doesn't follow your template, but might give you some ideas x = 7; y = 15; z = 0; format long a = zeros(20,3); ...

14 years ago | 0

Answered
Moving average
x = mean(reshape(y,[],30)).' %y is 3000 x 1

14 years ago | 1

| accepted

Answered
n-dimensional plotting in Matlab
do you mean: x = 1:10; y = x^2 % for example plot(x,y) % ??? (I must be missing something)

14 years ago | 0

Answered
Image registration
http://en.wikipedia.org/wiki/Image_registration http://www.mathworks.com/help/toolbox/images/f20-14791.html#f20-25391

14 years ago | 0

Answered
Princomp help needed to reduce-change a dimension of the matrix
Just use the first 10 values of coeff & score,i.e. score(:,1:10)

14 years ago | 0

Answered
How could I neaten this code up.
just to let you know where I was headed: clc;clear;tic phi = (1+sqrt(5))/2; i = 1:11; % 11 even ter...

14 years ago | 0

Answered
Matlab program timer
tic %program goes here toc %elapsed time

14 years ago | 0

| accepted

Answered
How could I neaten this code up.
Have a look at <http://en.wikipedia.org/wiki/Jacques_Philippe_Marie_Binet Binet's formula> and look for a pattern in the distrib...

14 years ago | 0

Answered
Using 'From Multimedia File', how to split the channels
How about a plain old demux?

14 years ago | 0

Answered
CHECKERBOARD
http://blogs.mathworks.com/steve/2011/07/26/checkerboard-fun/

14 years ago | 0

Answered
Ploting Results from CFD (streamline,quiver)
[xx,yy] = meshgrid(X,Y); streamline(xx,yy,u,v,startx,starty)

14 years ago | 0

Answered
pre-allocate
you are creating a matrix [211197 x 211197]. do you want perhaps: x= zeros(211197,1) % ?!

14 years ago | 0

Answered
computations
http://www.mathworks.com/moler/chapters.html

14 years ago | 1

| accepted

Answered
animation: point following line in 2d plot
here is one way: x = 0:pi/50:2*pi; y = sin(4*x); plot(x,y) hold on h = plot(x(1),y(1),'mo','MarkerFaceColor...

14 years ago | 0

Answered
camera intrinsics matrix
http://www.vision.caltech.edu/bouguetj/calib_doc/

14 years ago | 0

Answered
using for loop for manipulating matrices
is this what you are after? clc;clear x = [1,0.5,1,0.5,5 ; 2,0.5,1,0.5,10]'; h = zeros(2,size(x,2)); for i...

14 years ago | 0

Answered
using for loop for manipulating matrices
to what Jan has provided add: h = reshape(h,2,[]); after the for loops

14 years ago | 0

Answered
Comparing two different catalogs documenting the same events
doc datenum()

14 years ago | 0

Answered
Non Linear regression
try changing these lines: e = X(1); %(Economic growth) p = X(2); %(Previous year freight) r = X(3); %(Real freight rate c...

14 years ago | 0

Answered
While loop???
I didn't know where to start, so look at this. I tried to preserve your code as much as possible *[edit]* clc;clear numbe...

14 years ago | 0

| accepted

Answered
Find NaN elements in a matrix
isnan()

14 years ago | 0

Answered
ignore some data in file
you can try this: x = textscan(fid,'%f %s %f','delimiter','\t','CommentStyle','*')

14 years ago | 0

Answered
Combining Matrices
B = [A1; A2; A3];

14 years ago | 0

Answered
Finding Convolution and correlation of spatial filtering of an image
imagesc() % or imshow()

14 years ago | 0

| accepted

Load more