Beantwortet
pcap files
Havent used it but there is a tool called MATshark.. Matshark and Pyshark are tools that integrate Wireshark's packet dissecti...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Asking for matrix
there is an example on this page: <http://answers.yahoo.com/question/index?qid=20100806000026AANWkTe>

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
no degree symbol
s = sprintf('45%c', char(176)); figure hold on title(s)

mehr als 13 Jahre vor | 1

Beantwortet
Need your HELP =(
I do not think there is a way currently in Matlab to play two wav files simultaneously. It can be done by an external mixer and ...

mehr als 13 Jahre vor | 0

Beantwortet
How to call m-files
Suppose you have two scripts script1.m and script2.m you can call the second script from the first by just using scri...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
get rid of NaNs
A=[1 2 3 NaN NaN 5 6 7]; B=[1 2 3 4 5 6 7 8]; check=find(isnan(A)); B(check)=[]

mehr als 13 Jahre vor | 1

Beantwortet
Ask about break function
I think only the loop in which the break occurs is broken out of.. try for ii=1:5 ii for jj=1:6 ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
How to replace zeros in a matrix by the elements of an array?
You are on the right track, though it can be done in much simpler way but since you are a beginner this will suffice.. use ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
Converting uint8 array into 32-bit
I'm not sure maybe the type cast command will help doc typecast

mehr als 13 Jahre vor | 0

Beantwortet
Removing empty cell in array
Probably there is an easier way.. Mat=Mat(~cellfun('isempty',Mat)); Mat=reshape(Mat,[],4)

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
check string in array
is something like this what you want d ={'A' 'B' 'hello' 'hi' 'enter' 'exit' 'me' 'yo...

mehr als 13 Jahre vor | 1

Beantwortet
how to export figure data into a .mat file
In the figure gui click.. File>Save Workspace As..>'Any filename'

mehr als 13 Jahre vor | 0

Beantwortet
how to prevent of repeated permutation
unique(M2,'rows')

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
change only those zeros to NaN if all in row are 0
a(any(a,2)==0,:)=NaN; b=a

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
looking for an existing code in matlab that analyze EEG signals by FFT
You might be interested in the following: It is kind of a toolbox for EEG in matlab and has good tutorials.. <http://sccn.ucs...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
problem with parfor variable
the above code in its simple form works: just preallocate for speed a=zeros(30,30); % preallocate variable a parfor it...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
for and parfor
to use 'parfor' you need the parallel computing toolbox, which is not useful in basic matlab. The 'for' can be used in basic ma...

mehr als 13 Jahre vor | 1

Beantwortet
list all the files of certain type in directory and put them in a variable
I guess you will have more processing to do after getting all the file names in matlab. Here is a wonderful example on how to pr...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
find value in matrix
You can do without sorting: b=a(a(:,2)<15,:)

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
error when im trying to save
try save('testSet.mat','testDates', 'testX' , 'testY') %to save it in the current directory or create a directory cal...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
why are these values not equal?
This might help < http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F>

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
How to put strings on the x axes
figure1 = figure; axes1 = axes('Parent',figure1,'XTickLabel',neworder(:,1)); box(axes1,'on'); hold(axes1,'all'); ...

mehr als 13 Jahre vor | 2

Beantwortet
What is fitness function?
Fitness function is used in Genetic Algorithm in each iteration of the algorithm to evaluate the quality of all the proposed so...

mehr als 13 Jahre vor | 0

Beantwortet
Save data in for loop
This video should help: <http://blogs.mathworks.com/videos/2007/08/20/matlab-basics-video/> Eg> for ii = 1:50 ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
sort two matrix
[X,index]=sort(X,'descend') Y=Y(index)

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
how to pass command from a file to command window
You could use the disp command function myfunction ... ... disp('ho=findobj(''tag'',''sl2'')') ... ... ...

mehr als 13 Jahre vor | 1

Beantwortet
find x subjected to some limit.
This might be what you need q=rand(3,3); % generate 3x3 random matrix a=0.1; b=0.3; c=0.5;d=0.9; %values of a b c and ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
Stereo sound doesn't behave as expected
MAybe you need something like this [road,fs]=wavread('road.wav'); pad=zeros(length(road),1); % blank channel left...

mehr als 13 Jahre vor | 1

Beantwortet
CIELAB values from TIFF image
this page might help <http://robotics.stanford.edu/~ruzon/software/rgblab.html>

mehr als 13 Jahre vor | 1

Beantwortet
How to separate matrix row?
use A =[1 2 1 2 1 2] A(:,1)=0; B=A

mehr als 13 Jahre vor | 1

| akzeptiert

Mehr laden