Domanda


How to load multiple csv files and save them after converting into arff files?
Hello Friends, I have several csv files, all stored in path 'C:\Users\Name\Documents\MATLAB\*.csv'. I want to loop one by one...

quasi 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How to shrink each figure inside a subplot ?
Hello Friends, Suppose I have the following example: figure for ii = 1:5 subplot(1, 5, ii) plot(ii, sin(ii)...

circa 9 anni fa | 1 risposta | 0

1

risposta

Risposto
How to convert a .mat file into tab separated .txt file?
I found the answer to my own problem. I should have added 'newline','pc' in my command, i.e., dlmwrite('myFile.txt', myFile...

circa 9 anni fa | 3

| accettato

Domanda


How to convert a .mat file into tab separated .txt file?
Hello Friends, I have a data matrix of real entries. I saved this matrix in MATLAB Workspace as .mat file. I want to conv...

circa 9 anni fa | 3 risposte | 0

3

risposte

Domanda


How to convert a .mat file into a .csv file?
Hello Friends, I have a .mat file loaded in workspace. I want to convert it into .csv file. It has real entries. I used to co...

circa 9 anni fa | 4 risposte | 0

4

risposte

Domanda


How to use a for loop for concatenated matrices. [counts, centers] = hist(X);
Hello Friends, I am trying to do the following: [counts1, centers1] = hist(X); [counts2, centers2] = hist(Y); %X and...

circa 9 anni fa | 1 risposta | 0

1

risposta

Domanda


Print on screen output result of a nested for loop as a matrix form.
I have the following code: A = [1 1 3 2; 2 3 0 2; 3 1 0 2]; B = [1 3 5; 0 1 9; 10 2 0; 0 1 1]; [r, c] = size(A); ...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Risposto
Compute probability of each element in each column of a m x n matrix.
I found the solution of my own problem posted above. Though, thanks for your kind help. I will still appreciate different ways t...

oltre 9 anni fa | 1

| accettato

Domanda


Compute probability of each element in each column of a m x n matrix.
Hello Friends, I have a m x n matrix. I want to compute the probability of each element occurring in a column. I want to ...

oltre 9 anni fa | 3 risposte | 1

3

risposte

Domanda


histogram with a specified x-axis limit and bin position
Hello Friends, I have a matrix of a _m x n_ size. I want to specify the bin size/width, i.e., something like this: _bin ...

oltre 9 anni fa | 2 risposte | 0

2

risposte