photo

sermet


Last seen: 9 months ago Active since 2013

Followers: 0   Following: 0

Message

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

Statistics

  • Thankful Level 5

View badges

Feeds

View by

Question


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

11 months ago | 1 answer | 0

1

answer

Question


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

1 year ago | 1 answer | 0

1

answer

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

6 years ago | 1 answer | 0

1

answer

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

6 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 3 answers | 0

3

answers

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 2 answers | 0

2

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 3 answers | 0

3

answers

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 2 answers | 0

2

answers

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?

8 years ago | 1 answer | 0

1

answer

Question


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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 2 answers | 0

2

answers

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

8 years ago | 1 answer | 0

1

answer

Load more