Community Profile

photo

sermet OGUTCU


N.E.U university

Last seen: 8 jours il y a Actif depuis 2016

Statistiques

  • Thankful Level 4
  • Explorer

Afficher les badges

Content Feed

Afficher par

Question


creating a three-dimensional array from three array with different size
a= 1 x 8 %double b= 1 x 7 %double c= 1 x 6 %double How I can merge a,b,c into a single three-dimensional array with three pag...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


while loop for conditional statement
array_data=33 x 1 % double window_size=10; m_BW=0.5; var_BW=0.5; for i=1:window_size m_BW(i+1)=(i/(i+1))*m_BW(i) + (1/(...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


creating for and while loop for an array data
array_data=30 x 1 % double sliding_window=10; time_sliding_window = 1:1:10; % constant for time_sliding_window array_polyn...

presque 2 ans il y a | 1 réponse | 0

1

réponse

A répondu
creating array with specific condition
Dear Walter, thank you very much for the solution.

environ 2 ans il y a | 0

Question


creating array with specific condition
data= 689 x 1 % moving average values for the last 50 data data_average(1)= mean(data(1)); data_average(2)= mean(data(1:2));...

environ 2 ans il y a | 2 réponses | 0

2

réponses

Question


strcmp function using wildcards
data= 336950 x 2 table I try to find all rows in data containing "G[0-9][0-9]" such as G01, G09, G33 and etc. I tried the follo...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


converting 3D double matrix to char matrix
matrix_double_3D= 286 x 1 x 32 such as: val(:,:,1) = 1 1 . val(:,:,2) = 2 2 . I need to convert this matrix to ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


column-wise input for string and double data using fprintf
data_string= 32×3 char array 'G01' 'G02' 'G03' . 'G32' data_numeric= 32 x 6 double fprintf('%s %.3f %.3f %.3f %.3f %.3...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


fprintf for cell array data
data_double = 32 x 7 double fprintf(fid,'%02d %.3f %.3f %.3f %.3f %.3f %.3f\n',...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


repmat usage for cellarray
data = 32 x 1 double_array=[repmat(data,1,286);]; %= 286 x 32 double Now, I need to replace data with data_string as follows: ...

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


vertically aligned data using fprintf
data= 1 0 -0.828330184322257 -1.90936748180674 -0.973747768469492 1 300 -0.838221643420248 -1.73368790711073 -0.69405367102...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


fprintf for 3D matrix
matrix_2D= 32 x 7 % double fprintf(fid, '%*s\n', 15, '===== Starts with header='); fprintf(fid, '\n'); fprintf(fid,'%*s %*s %...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Creating a 3D array from 2D array
x = 121 x 27 y = 121 x 27 z = 121 x 27 I need to create a 3D array from these 2D arrays as following: xyz= 121 x 3 x 27 whe...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


adding 2D array to 3D array
I have a 3D data matrix (data_3D = 285 x 1 x 32). I need to add data_3D(:,:,1) to the beginning of data_3D. For example: data_3...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


different number of delimiters error using readtable function
I use the following code for reading text file: fileID = fopen(full_file_name); fclose(fileID); tCOD=readtable(full_file_name...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


saving matrix using fprintf in .txt file with different formatSpec
data=[2 0.232 0.333 0.421 0.111;3 0.111 0.252 0.385 0.600;4 0.500 0.620 0.100 0.210]; startingFolder='C:\Program Files\MATLAB';...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


"Unable to perform assignment because the left and right sides have a different number of elements error" using find command
reference=[1 2 3 4 5 6 8 9 10]; target=[1 2 3 4 6 7 8 9 10]; for i=1:9 index(i)=find(reference(i)==target); end Here, after...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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?

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 2 réponses | 1

2

réponses

Question


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

plus de 2 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Charger plus