Community Profile

# sermet

215 total contributions since 2013

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

View details...

Contributions in
View by

Question

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

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

bijna 3 jaar ago | 1 answer | 0

### 1

Question

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

bijna 3 jaar ago | 3 answers | 0

### 3

Question

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

ongeveer 3 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 3 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 3 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 3 jaar ago | 2 answers | 0

### 2

Question

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

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 3 jaar ago | 1 answer | 0

### 1

Question

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

bijna 4 jaar ago | 1 answer | 0

### 1

Question

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

bijna 4 jaar ago | 1 answer | 0

### 1

Question

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

bijna 4 jaar ago | 1 answer | 0

### 1

Question

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

bijna 4 jaar ago | 1 answer | 0

### 1

Question

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

bijna 4 jaar ago | 1 answer | 0

### 1

Question

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

bijna 4 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 4 jaar ago | 3 answers | 0

### 3

Question

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

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 4 jaar ago | 2 answers | 0

### 2

Question

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?

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

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

ongeveer 4 jaar ago | 2 answers | 0

### 2

Question

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

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

creating multi-line title with variable values
doy=100; %double igs=abcd; %string title({'ERROR (m)';'doy:';'igs:'}) How can I write "doy" variable (100) and "igs"...

ongeveer 4 jaar ago | 1 answer | 0

### 1

Question

matrix row/column augmentation
a=100; How can I create a matrix whose columns and rows contain of 20 times 100?

ongeveer 4 jaar ago | 1 answer | 0