Community Profile

photo

sermet OGUTCU


N.E.U university

Last seen: 1일 전 2016 이후 활성

Statistics

  • Thankful Level 3
  • Explorer

배지보기

Content Feed

보기 기준

질문


removing some the elements in cell array
data_array = 1×5 cell array Columns 1 through 9 {5×1 cell} {5×1 cell} {5×1 cell} {5×1 cell} {5×1 ce...

1일 전 | 답변 수: 1 | 0

1

답변

질문


find function using wildcards
fileID = fopen(full_file_name); header = textscan(fileID, '%[^,\n]'); fclose(fileID); end_of_header_line=find(contains(header...

3일 전 | 답변 수: 1 | 0

1

답변

질문


removing specific rows from char array
data=['01'; '02'; '03'; '04'; '05'; '06'; '07'; '08'; '09'; '10']; How I can remove the 1st and 5th columns from data aray?

24일 전 | 답변 수: 1 | 0

1

답변

질문


splitting cell array consists of string and numeric characters
I have a cell array (n x 1). Each cell looks something like this: * 2021 3 29 0 0 0.00000000 I need to remove * from each...

25일 전 | 답변 수: 1 | 0

1

답변

질문


using matlab fileread function for some portion of text data
data = regexp(fileread(full_file_name),'\n','split'); end_of_header_line = find(contains(data,'* ')); I find the row number ...

28일 전 | 답변 수: 1 | 0

1

답변

질문


unable to make invisible for edit box in gui.
I have a GUI. In this GUI, I created an empty edit text. I need to make invisible this edit text. I appended the following code ...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


parallel processing for readtable function
ps = parallel.Settings; ps.Pool.AutoCreate = false; %do not autocreate parpool when encountering a |parfor| ps.Pool.IdleTimeou...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


using readtable function except for last five lines from text file
for i=1:2 line_check{i,:} = regexp(fileread(full_file_name(i,:)),'\n','split'); end_of_header_line(i) = find(contains(line_che...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


putting space between string and double using fprintf
fprintf(fid,'%*s %*s\n',10,' G1',10,' G2'); fprintf(fid,'%s %.1f %s %.1f\n', 'Average_1:', data_1, 'Average_2:', data_2)...

약 1달 전 | 답변 수: 1 | 0

1

답변

질문


Download files from https server using username and password
url = 'https://cddis.nasa.gov/archive/gnss/products/0971/'; In this https server, I need to download "cod09710.eph.Z" file for ...

약 1달 전 | 답변 수: 2 | 0

2

답변

질문


aligning data for fprintf
for j=1:2 [a(j),b(j)]=size(char(FileName(:,j))); % b=[38 38] [c(j),d(j)]=size(char(FileName2(:,j))); % d=[38 38] first_spa...

약 2달 전 | 답변 수: 2 | 0

2

답변

질문


extracting sub matrix from a cell array
data: 2 x 1 cell array = [ 378063 x 12 table] [ 377840 x 12 table] I use the following codes to extract sub matrix from dat...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


creating a loop for a specific computation
tCOD=readtable(full_file_name,'FileType','text', ... 'headerlines',end_of_header_li...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


extracting columns from multiple cell arrays consist of table data
for j=1:2 tCOD{j,:}=readtable(full_file_name(j,:),'FileType','text', 'headerlines',end_of_header_line(j),'readvariablenames',0)...

약 2달 전 | 답변 수: 1 | 0

1

답변

질문


Unable to perform assignment due to the different length of sides
[FileName,pathname,d] = uigetfile('*.sp3','Choose the products','MultiSelect','on'); for i=1:2 full_file_name(:,i) = fullfile(...

2달 전 | 답변 수: 1 | 0

1

답변

질문


extracting the last three characters from cell array
[FileName,pathname,d] = uigetfile('*.SP3','Choose the products','MultiSelect','on'); FileName = 1×2 cell array {'CO...

2달 전 | 답변 수: 2 | 0

2

답변

질문


determining spaces between two strings in fprintf function
fprintf('%s %s\n',' G',' G'); I need to define the lenght of the two spaces. One space starts from the first line to the fi...

2달 전 | 답변 수: 1 | 0

1

답변

질문


defining string variable in fprintf function
result_1=10.5; result_2=9.9; string1='data1'; string2='data2'; fprintf(fid','string1 %.1f string2 %.1f\n', result_1, r...

2달 전 | 답변 수: 1 | 0

1

답변

질문


start to write for a specified location using fprintf
FileName1='data_file'; result_1=23.9; FileName2='data_file2'; result_2=21.9; startingFolder='C:\Program Files\MATLAB'; i...

2달 전 | 답변 수: 2 | 0

2

답변

질문


extracting all lines includes specific string from text file
I have a data file (the attached one). I used the following codes to read this file. [FileName,pathname,d] = uigetfile('*.txt')...

3달 전 | 답변 수: 1 | 0

1

답변

답변 있음
extracting numbers after the particular string from cell array
I attached the original file.

3달 전 | 0

질문


extracting numbers after the particular string from cell array
data={'333', 'AS C37 2021 03 28 00 05 30.000000 1 -0.884071511631E-03','abvc','400 55 a','AS G17 2021 3 28 0 17 30.0...

3달 전 | 답변 수: 2 | 0

2

답변

질문


wilcard usage with strncmp
I have a cell array data (C). I use the following code to find specific character in the C; find_character = strncmp(C, '* 202...

4달 전 | 답변 수: 2 | 0

2

답변

질문


The efficient way (in terms of speed and consistency) for parsing a big text file with textscan
I have a text file consists of apprx 500 000 lines. I appended the header and some data parts in below. #dP2021 4 3 0 0 0....

4달 전 | 답변 수: 1 | 0

1

답변

질문


using function with loop
function [b, n, index] = RunLength(x) d = [true; diff(x(:)) ~= 0]; % TRUE if values change b = x(d); % El...

5달 전 | 답변 수: 1 | 0

1

답변

질문


find a row number in text file for certain condition
data=[1.2;1.0;0.05;0.4;0.3;0.2;0.1;0.05;0.04;0.03;0.03;0.02;0.01;0.001;0.01;0.01;0.001 ] ; Here, the answer to my problem is 8t...

5달 전 | 답변 수: 1 | 0

1

답변

질문


transform cfit (fitted data) into a numeric data array
f=fit(x,y,'linearinterp'); I need to save f fitted numeric data from the original data into a different array such as; fitted...

7달 전 | 답변 수: 1 | 0

1

답변

질문


About the usage of for, while and return
I need to perform while loop many times as follows; data=xlsread('data.xlsx','B1:B86640'); % first part i_1=1; while (abs(da...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


bar plot cannot spread x axis homogeneously
imp_2d_E=[0 -1;0 0;0 3;0 0;0 0;0 0;0 0;2 3;0 0;1 0;0 0;0 1;0 0;0 0;1 0;0 0;1 1;0 0;2 2;0 0]; bar(imp_2d_E) set(gca,'XTick',[])...

약 2년 전 | 답변 수: 1 | 0

1

답변

질문


rows interval using textscan
What is the equivalent of xlsread('data.xlsx','B5:B10') in the textscan ?

약 2년 전 | 답변 수: 1 | 0

1

답변

더로드