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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

Risposto
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 ...

oltre 13 anni fa | 0

Risposto
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...

oltre 13 anni fa | 1

| accettato

Risposto
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)=[]

oltre 13 anni fa | 1

Risposto
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 ...

oltre 13 anni fa | 1

| accettato

Risposto
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 ...

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 0

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

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 1

| accettato

Risposto
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...

oltre 13 anni fa | 0

| accettato

Risposto
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...

oltre 13 anni fa | 1

| accettato

Risposto
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...

oltre 13 anni fa | 1

Risposto
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...

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 1

| accettato

Risposto
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...

oltre 13 anni fa | 0

| accettato

Risposto
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>

oltre 13 anni fa | 0

| accettato

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

oltre 13 anni fa | 2

Risposto
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...

oltre 13 anni fa | 0

Risposto
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 ...

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 1

| accettato

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

oltre 13 anni fa | 1

Risposto
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 ...

oltre 13 anni fa | 1

| accettato

Risposto
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...

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

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

oltre 13 anni fa | 1

| accettato

Carica altro