Statistics
RANK
171,807
of 295,486
REPUTATION
0
CONTRIBUTIONS
66 Questions
4 Answers
ANSWER ACCEPTANCE
62.12%
VOTES RECEIVED
0
RANK
of 20,236
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,950
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
1 year ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 0 answers | 0
0
answersQuestion
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
2 years ago | 1 answer | 0
1
answerQuestion
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 ...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 0 answers | 0
0
answersQuestion
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 ...
2 years ago | 0 answers | 0
0
answersQuestion
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...
2 years ago | 2 answers | 0
2
answersQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 2 answers | 0
2
answersQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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 ...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 2 answers | 0
2
answersQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 0 answers | 0
0
answersQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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,...
2 years ago | 2 answers | 0
2
answersQuestion
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). ...
2 years ago | 1 answer | 0
1
answerQuestion
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,...
2 years ago | 1 answer | 0
1
answerQuestion
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...
2 years ago | 0 answers | 0
0
answersQuestion
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...
2 years ago | 1 answer | 0
1
answerQuestion
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, ...
2 years ago | 1 answer | 0
1
answerQuestion
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...
3 years ago | 1 answer | 0
1
answerQuestion
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...
3 years ago | 2 answers | 0
2
answersHow 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...
3 years ago | 0
Question
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...
3 years ago | 2 answers | 0
2
answersQuestion
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...
3 years ago | 1 answer | 0
1
answerQuestion
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...
3 years ago | 2 answers | 0