Answered
how to do the matrix value comparison of two different iterations ?
yes, you can do this like you say by saving the best result and updating it at each iteration i tried to update the pseudo code...

3 years ago | 0

| accepted

Answered
Index of matrix using colon
you need to save the index value into a new array, otherwise it will overwrite the value and only keep the last one mainmatrixX...

3 years ago | 0

Answered
I want put test 3 sigma on time series by 800*1 dimension. I have this code, it return nothing.
the error is because you intialize lat = fid(:,2); this means that 'lat' will be a vector with 1 column next you ask for l...

3 years ago | 0

Answered
How can I transfer the results of a four-cycle iteration into a matrix with a row for each iteration?
hello, if you want to use the for loop you need to index the rows A=[0.246 0.280 0.286 0.301 0.302 0.330 0.397 0.478 0.607 0.65...

3 years ago | 1

| accepted

Answered
Indexing a cell using a table
i gues you need to translate the logical matrix B into indexes, e.g. using find % create A A = {[1;2;3] [4;5;6] [7;8;9] ; [10;...

3 years ago | 0

| accepted

Answered
How can I control the amount of same random letters back to back? (N-back)
Quite an interesting problem, I'm not familiar with a n-back experiment. But I guess one of the issues could be that your 'integ...

3 years ago | 0

| accepted

Answered
How to generate a multi-dimensional array from a vector ?
see below for an example. i used several for loops for sake of readability % pick the numer of dimensions e.g. 4 M = 4; % gen...

3 years ago | 0

Answered
How to button to load the MS-paint in GUI?
You can try using the system command and link it to the location of MS Paint on your computer: system('"C:\WINDOWS\system32\msp...

3 years ago | 0

Answered
Binning data into 1 hour average in cell array?
Hello, If you know how to proces the data for a single file, you can use the same logic in a loop. At the begining of the loop ...

3 years ago | 0

Answered
Split one colum excel data to 3 colums
Hey, Due to both the ' " ' and the comma's I would to read the file as strings and then extract the data you need. See the code...

3 years ago | 0

Answered
how can I plot scatterplot using scatter or gscatter with different color for each variable
I'm not completly sure if I fully understand the question. But the 4th input for the scatter command can be used to indicate th...

3 years ago | 1

| accepted

Answered
how to extract all values in array after certain value?
Hi, Assuming that the part you need is between two random number, you can try the following: Data = [1 0 0 2 0 0 3...

3 years ago | 2

| accepted

Answered
Extracting numbers from a txt file
If the header will always use the same structure, you can try something like the code below. Hope it helps, best regards % l...

3 years ago | 0

| accepted

Answered
All tables being vertically concatenated must have the same number of variables.
i'm guessing this is again related to your questions below? Try to add all information in 1 question, this will help make it a l...

3 years ago | 0

Answered
Getting error while saving the data into csv file?
Why do you not append this to the 5 questions you asked earlier? You make it very difficult to link them to each other. Anyhow ...

3 years ago | 1

| accepted

Answered
How to read multiple matrices separately from .txt file
Since it's not clear whether or not these matrices have the same dimensions, you can try to save them in a cell array. See belo...

3 years ago | 1

| accepted

Answered
How would I take the mean of each row from column_13 of 79 csv files?
You were almost there, you just need to convert the table to an array to take the mean of the values, see below for a quick fix:...

3 years ago | 1

| accepted

Answered
Apply a filter to a dataset of ecg signals
Hello, the problem is that you didn't initalize the variable "y". Hence you are trying to fit an array of 1x3600 into a single p...

3 years ago | 0

| accepted

Answered
Output of cell arrays into another array
Hello, Here you have a bit of example code with some random data, hope it helps. numFiles = 142; TotalRows = 20590; Skip...

3 years ago | 0

| accepted

Answered
How to saveas multiple figure in folder using matlab ?
Hello, Witouth the figures or the error message it's not really clear which error you obtain. But at first glance the saveas co...

3 years ago | 0

Answered
How to find the error between 2 curve ?
Hey, It depends on how you define the error. If you mean the difference between the two you can simply do the following: l...

3 years ago | 0

| accepted

Solved


Find Logic 18

3 years ago

Solved


Find Logic 19

3 years ago

Solved


Find Logic 17

3 years ago

Solved


Find Logic 16

3 years ago

Solved


Find Logic 14

3 years ago

Solved


Find Logic 15

3 years ago

Solved


Find Logic 13

3 years ago

Solved


Find Logic 12

3 years ago

Solved


Find Logic 11

3 years ago

Load more