Community Profile

photo

sermet


Last seen: 26 días hace Con actividad desde 2013

I'm an assistant in the university. Professional Interests: signal processing

Estadísticas

  • Thankful Level 5

Ver insignias

Content Feed

Ver por

Pregunta


finding the columns include ones
matrix=[1 0 0 1 0;0 1 0 1 0]; % I need to find the number of column includes [1;1] index_1 = 4 ; % how can I find this using...

3 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


recursively fill a matrix within function
function x = adjustment(varargin) Adjust = varargin{1}; A = Adjust.A; % computations ... Before this function worked, ...

6 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


creating algorithm for specific computation
I need to perform below computation using algorithm approach. t=100; % constant et=1:1:4; % the numbers of "et" are variabl...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


removing rows from matrix which equal particular number
A=[1 2 3;4 5 6;99 7 8;5 5 99;1 2 3;99 99 5]; How can I remove rows include 99 as follows; B=[1 2 3;4 5 6;1 2 3]; Th...

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


creating Lagrange interpolation w.r.t. two arrays
time=[t1 t2 t3]; data=[y1 y2 y3]; specific_time=tt; % for specific time tt, computation of data as follows; ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


creating loop with two variables
For example; a=0:2:10; b=0:2:6; % number of elements of a is always bigger than b I need to create for loop as below;...

más de 6 años hace | 3 respuestas | 0

3

respuestas

Pregunta


plotting values with duration format
time_array=[6 0 0;6 1 0;6 2 0;6 3 0;6 4 0;6 5 0;6 6 0;6 7 0;6 8 0;6 9 0;6 10 0;6 11 0;6 12 0;6 13 0;6 14 0;6 15 0;6 16 0;6 17 ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


creating matrix w.r.t. rows number of another matrix
data=[1;2;8;9;11;12;19;22;24;26;30]; col_row=[1 2;1 4;1 8;1 11;2 4;2 8;2 11;3 10]; rows number in col_row are always asc...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


manipulating three dimensional cell arrays
I have a three dimensional cell array data as follows; val(:,:,1) = [3x4 double] val(:,:,2) = ...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


terminating the while if loop
while abs(dE) > 1e-12 iteration=iteration+1; E_old = E; E = M+(ecc(1)*sin(E)); %eccentric anomaly dE=E-E_old; ...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


distinguishing exponential (e) from other characters with regexp
omega= '-1.86265e-09</' '-1.86265e-09</' '-1.74623e-09</' '-1.74623e-09</' '-1.62981e-...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


using regexp with negative and positive floating numbers
data = '0.00640869<' '0.00640869<' '-0.00598145' '-0.00598145' '-0.0010376<' '-...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


extracting only numeric part from cell array includes character and number
data= '0.0253906' '0.0292969' '0.03125</' '0.03125</' '0.03125</' '0.0058593' ...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Subscript indices must either be real positive integers or logicals error when using getFirstChild.getData function
I have a xml file (I attached the file). I can retrieve related variables in xml file but when it comes to store them with using...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


extracting specific values between two characters within text file
I have a data text file. One parts of this file looks like; <Almanacs> <svAlmanac> <SVID>01</SVID> <alm...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


convenient way to read and store values in xml file
I have a data file (attached file) whose format is xml (I changed its format to txt for attaching). I need to extract numeric va...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


merging multidimensional cell array
AA_last=1x1x3 cell val(:,:,1) = [12x4 double] val(:,:,2) = [13x4 double] ...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


plotting x axis with matched array numbers.
PDOP=[1.31;1.33;1.26;1.27;1.29;1.30;1.30;1.29;1.25;1.35;1.24;1.25;1.42]; time_array=[3 23 30;3 23 45;4 0 0;4 0 15;4 0 30;4 ...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


using XtickLabel with fractions and integer numbers
time=[1:1:24]; interval_x_axis=0.5; set(gca,'XtickLabel',time(1:interval_x_axis:end)) % it gives "Warning: Integer op...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


proper way of reading data from text file
The attached file is example data file. I need to store each element of line 2-3, 5-6, 8-9. The original file is bigger than thi...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Subscript indices must either be real positive integers or logicals while using plot function
figure(1) %time_north_sec=1x111 double %Q_north_cut_off=111x111 double plot(time_north_sec,Q_north_cut_off(:,1)*1...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


shaping matrix w.r.t. the array
for example Cyy=[0.1;0.2;0.3;0.4;0.5]; %array how can I create Q matrix w.r.t the Cyy array as follows; Q=[Cyy(1)...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


removing rows contain NaN element from 3D array
A(:,:,1) = NaN NaN NaN 1.000000000000000 NaN ...

más de 7 años hace | 3 respuestas | 0

3

respuestas

Pregunta


splitting data w.r.t. sampling interval
x=1:1:20; I need to split x array w.r.t 5 sampling interval as follows; x_5_1=[1 2 3 4 5]; x_5_2=[6 7 8 9 10]; x...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


hour to hour minute second conversion
I have an array represents hours, for example; hour=[13.20,15.30,14.46,21]; Is there any matlab function to convert thes...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


variable string in warning dialog b
string=0; string=num2str(string); Is it possible to write "number:0" (as 0 is variable) within warning dialog box?

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Dimensions of matrices being concatenated are not consistent error for cell2mat
out = '01' '0.5846023560E-002' '405504.0000' '0.9652538155' '-0.7828897534E-008' ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


using regexp for strings with space delimited inside text file
I have a text file whose inside as follows; ID: 01 Eccentricity: 0.5846023560E-002...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


extracting values from text files as matrix format
I have a text file whose format as follows; ******** Week 887 almanac for PRN-01 ******** ID: 01...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


creating legend with only string
x=rand(10,1); h_x=histfit(x); title('error'); xlabel('north (cm)') ylabel('Number of Measurement') mean_x=mean...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Cargar más