Question

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

6 years ago | 1 answer | 0

Answered

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

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

6 years ago | 3

| accepted

Question

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

6 years ago | 3 answers | 0

Question

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

6 years ago | 4 answers | 0

Question

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

6 years ago | 1 answer | 0

Question

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

6 years ago | 1 answer | 0

Answered

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

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

6 years ago | 1

| accepted

Question

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

6 years ago | 3 answers | 1

Question

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

7 years ago | 2 answers | 0