Answered
MAT files
p=load matfile1.mat q=load matfile2.mat save newmatfile.mat

mer än 12 år ago | 1

| accepted

Answered
Laplacian of Gaussian filter
This page has some Information for Laplacian of Gaussian (LOG) <http://www.mathworks.com/help/toolbox/images/ref/edge.html>

mer än 12 år ago | 0

Answered
??? Error using ==> horzcat, CAT arguments dimensions are not consistent.
you should try A = {'a', 'b', 'c', 'd'} B={1,2,3,4} C=[A,B]; D=[A;B]; Make sure A and B are being declared as...

mer än 12 år ago | 0

Answered
Looping matrix into one column
doc reshape Reshpae should do your job, try the following example a=[1:4;5:8;9:12;13:16] c=reshape(a,[],1)

mer än 12 år ago | 0

| accepted

Answered
great trouble with RMS value
I cant say about simulink but with MATLAB and the dsp toolbox doc dsp.rms <http://www.mathworks.com/help/toolbox/dsp/r...

mer än 12 år ago | 0

Answered
Matrix manipulation using strcmp
a = {'OL',4;'WR',7;'OL',3;'AT',2} c=arrayfun(@(x) strcmp(x,'OL'),{a{:,1}}); d=a(c,2)

mer än 12 år ago | 0

| accepted

Answered
save pig image
try filename = ['LS0' num2str(n) 'AL.pgm']; imwrite(V,filename) should work, I think yours did not work bec...

mer än 12 år ago | 0

Answered
Index of reordered vector
A = [1 2 3 4 5 6]; AR=[ 2 4 1 6 5 3]; [x,y,P]=intersect(A,AR) x = Columns 1 through 5 1.00 ...

mer än 12 år ago | 1

Answered
plotting a cdf over a histogram
try hold on cdfplot(h)

mer än 12 år ago | 0

Answered
Plot date and time
If you have date and time as cell's in Vectors date in format cell{mm/dd/yy} time in format cell{HH:MM:SS} 1) concatenate t...

mer än 12 år ago | 0

Answered
reshape a matrix or cell array
do b=reshape(a,[],2)' to get b = 1 2 3 4 *correction* will work for more than 2 ...

mer än 12 år ago | 0

| accepted

Answered
Minimum value in 2d matrix but with restriction
doc find

mer än 12 år ago | 1

| accepted

Answered
bits of a binary input
I dont know if this is what you are looking for.. c=[111111 010101 101010] a=num2str(c) to operate on eac...

mer än 12 år ago | 0

Answered
bug in sortrows?
Sorts well for me: xx = 0 0 1.000000000000000 0 ...

mer än 12 år ago | 1

| accepted

Answered
Splitting an image into equal sizes
doc blockproc <http://www.mathworks.com/help/toolbox/images/f7-12726.html>

mer än 12 år ago | 0

Answered
genetic algorithm
I would guess Binary, since your gene is binary encoded..

mer än 12 år ago | 0

Answered
2D color plot with 3 vectors
Just adding if you need a 3d graph: dotsize=25 scatter3(x(:), y(:), z(:), dotsize, z(:), 'filled')

mer än 12 år ago | 0

Answered
Array Preallocation
your code works correctly and preallocates memory correctly l = 300; w = 13; full_data=cell(l, w); >> size(fu...

mer än 12 år ago | 0

Answered
Save loop data
Thomas Anthony answered on 8 Mar 2012 at 15:06 This video should help: <http://blogs.mathworks.com/videos/2007/08/20/matla...

mer än 12 år ago | 4

| accepted

Answered
xtick string with plot yy
How about this? clear all time = (0:23)'; n = numel(time); out = cellstr(datestr([ones(n,1)*[2012 3 10] time zeros...

mer än 12 år ago | 0

Answered
Finding any row in an array and replacing with certain new values
Will this help a=[1 2 3; 4 5 6; 7 8 9; 1 2 3]; for i=1:length(a) if a(i,:)==[1 2 3] a(i,:)=[10 11 12] end en...

mer än 12 år ago | 0

Answered
converting double to string
function vigenere(message,key,alphabet) message key alphabet y=double(alphabet) end Where are you ...

mer än 12 år ago | 1

Answered
Reading values from xml file
Try this from the file exchange. I have found it to be useful <http://www.mathworks.com/matlabcentral/fileexchange/28518-xml2...

mer än 12 år ago | 2

Answered
Distance between two points - use ginput!
to find the distance between the two point use <http://en.wikipedia.org/wiki/Distance> d(1)= sqrt((x_point2-x_point1)^2+...

mer än 12 år ago | 2

| accepted

Answered
Saving images in a directory folder
This might help you <http://www.mathworks.com/help/toolbox/images/ref/imsave.html> <http://www.mathworks.com/help/techdoc/...

mer än 12 år ago | 2

Answered
How to save 2 column vectors to an excel file
Yes that is the correct syntax..only if both x and y are column vectors.. xlswrite(C:\Folder\name.xls, [x y])

mer än 12 år ago | 0

| accepted

Answered
FM transmitter
this might help... Has all the math for implementing it and some simulink examples for AM/FM Please do not forget to reference ...

mer än 12 år ago | 0

Answered
Multiple projectile plots
My understanding is that you change the theta and the x values.. declare theta and x for change in theta for chan...

mer än 12 år ago | 0

Answered
addition
c=qq+1

mer än 12 år ago | 3

| accepted

Answered
basic code question
Is this what you wanted? x1=1:10 x2=11:20 y=[x2(3:length(x2)) x1(1:length(x1-3))]

mer än 12 år ago | 1

Load more