Community Profile

photo

Hugo


Last seen: 9 Monate vor Aktiv seit 2013

asdsa

Statistiken

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How to implement a for cycle to run a sequence of text files with the system command
Hi, I would like to open a sequence of files by combining a for cycle and a list of files to open. How can I do that? I att...

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


how to stack series in a 3-D bar chart
Hi, I would like to stack 3 series (a,b and c) in a single 3-D bar chart. However, the code that I have does not work properl...

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


3D bar chart in MATLAB
Hi, I would like to build a 3D bar chart in MATLAB. How can I do it? Best regards, Hugo

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to build a 3D chart from a 2D table
Hi, I have a 10*20 table, with each cell having a numeric value. I would like to build a 3D chart, having x as the dimension ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to build a 3D chart/plot from scattered/raw data?
Hi, I would like to build a 3D chart from raw data with coordinates (x,y,z). How can I build a 3D chart from raw/scattered va...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How to build a" "for" cycle to concatenate strings
Hello, I have a code that prints: Var1= Var2= Var3= The code is: sa="VAR" aaa="=" i1=num2str(1) i2=num2str(2) i3=n...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Can't copy files using the DOS() command in MATLAB
I am trying to copy an external file a.txt to a new file, named b.txt, by using the following code: command='COPY C:\text\a.txt...

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to identify occurences in a text file and save both number and text into arrays
Hi, I would like to open an external text file, with n lines and identify the lines which start with "VAR=" A typical line ...

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to count the number of lines of an external txt file
Hi, I would like to know how I can count the number of lines (not empty) of an external text file, let's say, a.txt, and save...

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I open an empty external text file and fill it with the concatenation of two vectors and a char inbetween
I have two vectors one is: a=[1.4;3.1;6.5] and the other one is: b={VAR1,VAR2,VAR3} How can I open an empty external te...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I copy lines of an external text file to another file
Hi, I would like to know how can I open a file, named a.txt (which in attach), and copy all the lines, from the line 5 to the...

fast 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to repeat a prompt until a expected number is written by the user
Hi, I would like to repeat a prompt to ask if the user wants to Stand=1, Sit=2, Sleep=3, Listen to Music=4. So, an integer nu...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to concatenate lines in cell arrays
Hi, I have a Cell array, name DATA with 5*50 cells. Each cell has a 1000*30 matrix I would like to obtain a new matrix that ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to easily and quickly change the variable names (headers) of multiple tables
Hi, I have 20 tables, let's call them A,B,C.....etc. with size of 1000 lines and 40 column. I would like to concatenate them...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to get/obtain a specific column of a cell array
Hi, I have the following code, that transforms a 3D array into a cell array. This code was already suggested on the thead: ho...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to fill an array with data from intercalated/multiple range columns
Hi, I have a matrix A, with dimensions 4000*50. I would like to select lines 1 to 2000 (1st dimension) and columns 1 to 40 an...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to use "For" cycles for ranges of 2D arrays
Hello, I have the following code: D11=A1(1:1000,:) D12=A1(1:2000,:) D13=A1(1:3000,:) D14=A1(1:4000,:) D21=B1(1:1000,:) D2...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to use a for cycle with strings as variables
Hello, I would like to write 10 variables at once in separate files. Is there a way to make my code more efficient? I am thinki...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to do a for cycle for cell arrays
Hello, i have a cell array that is has 20 cells of 1000*20 tables I am trying to write the following code: FA1=data2{1,...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to remove columns from a 3D array, considering user input
Hello, I have a 3D matrix A, with dimensions 50*1000*30. I would like to remove some columns of the 30 I have (3rd dimension). ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to do correlation tests to a cell array
Hi, I have a cell array with 24 cells. I am trying to write a correlation between the variables inside each cell. In each cell,...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to build histograms from a cell array
Hi, I have a cell array with 20 cells of 1000*10 tables. I would like to build 20 histograms, each for each cell of the array...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to fill 3D array with alternate data from another 3D array
Hi, I have a 3D array called data 1, with dimensions (51,1000,50) I would like to fill another 3D array, called data, with d...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to convert a 3D array into a n 2D arrays
Hi, I have a 3D array, called A, that is 20*1000*30. How can I convert the matrix A into 20 2D arrays, with size 1000*30, ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to run feature selection in a 3D matrix
Hi, I have a 3D matrix in MATLAB. I would like to run the function fscmrmr(), in which the column 32 is my reference variable...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to run principal component analysis in a 3D matrix
Hi, I am trying to run principal component analysis, pca() function to a 3D matrix. It does not work and I think it only wo...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
How to concatenate 3D matrixes effectively/fast
Hi, Thank you for your reply. However, I am not trying to concatenate null matrixes. Instead, I am pre-allocating it. The mat...

etwa 2 Jahre vor | 0

Frage


How to concatenate 3D matrixes effectively/fast
Hi, I have 5 matrixes, named M1,M2,M3,M4 and M5. They are all 48*1000*C, with C different in each case. I would like to conca...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how can I modify a triple "for" cycle to run faster?
Hi, I have the following code, where I fill a 3D matrix with data from a struct, which has tables inside. The goal is to conc...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to use a for cycle for opening .mat files
Hi, In the directory c:\MAT (it's not my workspace directory), I have the following .mat files: A1B1.mat A1B2.mat A1B3.m...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Mehr laden