Question


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

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 3 jaar ago | 3 answers | 0

3

answers

Question


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

bijna 3 jaar ago | 0 answers | 0

0

answers

Question


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

bijna 3 jaar ago | 0 answers | 0

0

answers

Question


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

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


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,

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 3 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

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

meer dan 3 jaar ago | 0

Question


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

meer dan 3 jaar ago | 3 answers | 0

3

answers

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

meer dan 3 jaar ago | 0

Question


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

meer dan 3 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 4 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 4 jaar ago | 0 answers | 0

0

answers

Load more