질문


how to filter variables after Pearson correlation test
Hi, I am doing the Pearson correlation test to a matrix, using 8 variables. I am getting values from 0.01 to 0.95. How can I ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to automate .mat file loading
Hi, I have a MATLAB code in which I import a .mat file and select columns. The .mat file is called A.mat. I have 5 .mat files...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


how can I make the code generating all the possible combinations of integer numbers more efficient
Hi, I would like to know how I can modify the following code, as to make it more efficient. This code writes the matrix total...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How can I create a new matrix from selected number of columns of an existing matrix
If I have a vector x=[1,2,3,5] and a matrix A with size 5*10 how can I get, concatenate and save the columns of the ...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to use variable names/strings in a For cycle
Hi, I have the following code: B1=matrix(:,1) B2=matrix(:,2) B3=matrix(:,3) B4=matrix(:,4) B5=matrix(:,5) I would l...

거의 3년 전 | 답변 수: 3 | 0

3

답변

질문


How to use feature selection in an external .mat file
Hi, I am trying to use feature selection to determine the importance of the variables A1....A9 in relation to the variable A10....

거의 3년 전 | 답변 수: 0 | 0

0

답변

질문


How to use Feature selection in MATLAB
Hi, I have a CSV file with 10 columns and 1000 lines. Apart from the headers (1st line), all the results are numeric. I would...

거의 3년 전 | 답변 수: 0 | 0

0

답변

질문


How to convert a .mat file, containing only numeric values, with dimensions of 1000*10, from cell type to double.
Hi, I would like to know how I can convert a .mat file, containing only numeric values, with dimensions of 1000*10, from cell t...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to concatenate selected data of two .mat files
Hi, I have two .mat files, named A.mat and B.mat. Those files have 1000 lines and 10 columns. they are both in format "Table". ...

거의 3년 전 | 답변 수: 2 | 0

2

답변

질문


how can I convert an array in double format to string?
Hi, How can I convert an array, previously imported to MATLAB, in double format to string? Thank you,

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


how to concat two strings with data from external file inbetween?
Hi, I have two strings: string1='Simpson' string2='Wilder' I also have an external text file, called numbers.txt whose c...

대략 3년 전 | 답변 수: 2 | 0

2

답변

질문


How can I concatenate 3 strings using the value of a variable inbetween
Hi, I have two strings: string1='John' string2='Maria' I would like to write the following to an external file, called str...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


how to setup optimization routine with external objective function code
Hi, I am currently facing problems when programming an optimization routine by coupling MATLAB with external software. I tri...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Fmincon does not change the values of the design optimization parameters
Hi, I am using an optimization code that I have already built in MATLAB. It worked for me in the past, for another problem. N...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to save the contents of an external file, located outside of MATLAB project path, in an internal MATLAB variable
Hi, I would like to save the contents of an external file in the variable data. So far, I have this code, and it works: file = ...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to run a MATLAB .m file in Linux CentOS 7.0
Hi, I am new to Linux and I would like to run an .m file that I have programmed. I tried to run as some persons say here: htt...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how to run linux commands in MATLAB, in windows 10
Hi, I am using windows 10 and I would like to run a software, called Moldex3D, in command line. The problem is that the command...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How can I plot the discrete points of two arrays?
Hi, How can I plot the contents of two arrays (discrete points)? For example, If I have the array x=[0;1;2;3] and y=[5.9;3.7;...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to load a matrix into the workspace and save the value of a cell into a float variable
Hi, I have a matrix, called 1.mat, that I would like to load into the workspace and then save the cell (2,4) (line 2 and colu...

3년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
how to open an external text file, identify two strings and save the lines of the text file where the two strings appear
Dear Mr. Mathieu, Thank you for your help. Unfortunately, your solution does not work on my end. Do you have other suggestion...

3년 초과 전 | 0

질문


how to open an external text file, identify two strings and save the lines of the text file where the two strings appear
Hi, I would like to open an external text file, identify two strings, for example "Pattern1" and "Pattern2" and save in two v...

3년 초과 전 | 답변 수: 3 | 0

3

답변

답변 있음
how to identify a string in an external text file and save the text of the two following lines in arrays, by delimiters
Dear Mr. Jorg Woehl, Thank you very much for your help. Unfortunately, your code does not work on my end. Do you have any other...

3년 초과 전 | 0

질문


how to identify a string in an external text file and save the text of the two following lines in arrays, by delimiters
Hello, I would like to identify a given string in a text file, for example "A C G Y R E" in the text file I attach and save t...

3년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to do a loop in a text file until an empty line is found
Hello, I would like to open an external text file and do a loop that scans all the lines of the text file until an empty line...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


How to run all the external files with same extension .bat within the same folder in MATLAB r2018b
Hello, I would like to run all the external files with the extension .bat within the folder c:\t, in MATLAB. The command must...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


how to identify values in a text file and replace them based on an existing array
Hello, I have a text file, let's call it abc.txt, such as that I am writing below. I would like to replace the values that ar...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


how to obtain the number of lines starting with a given string from an external text file and save the numeric value of variables of those lines
Hello, I have an external text file. A part of the text file (example) is shown below: /AA /BB /CC DRL=1 DRL=2 DRL=4 ...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


how o count he number of occurences of a string in an external text file?
I would like to count he number of occurences that the string 'ALG' has, considering an external text file and one occurence per...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to assign the number of filled columns of a text file as the value of a variable
Hello, I am trying to open the file nt.txt, with the goal of assigning the number of columns to the variable nu. Right now, I...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How to subtract the elements of an array
Hello, I am coding an .m file in MATLAB R2018a. The code I have (partial) is: nt=[8,17,22,25]' for i=1:3 grad(i)=n...

대략 4년 전 | 답변 수: 0 | 0

0

답변

더 보기