13 total contributions since 2018

Professional Interests: telecommunications

Question

how to plot empirical cdf in matlab release 2013a

I have matlab release 2013a but the ecdf command is not available for this release. Is there an alternative solution to plot the...

ongeveer een maand ago | 1 answer | 0

Question

reshape 3d to 2d array

I have a 1 by 20 by 3 array and want to reshape it to 3 by 20 matrix

ongeveer een maand ago | 2 answers | 0

Question

how to generate a matrix with all possible combinations in an efficient way

I have n=1:4 and m=3, and I want to generate a matrix S whose rows are all the possible combinations.. i.e., S has 4^3 rows and ...

ongeveer 2 maanden ago | 1 answer | 0

Question

How to generate realisations from two sets

I have two sets,e.g., S1={1,2,3,4} and S2={1,2,3,4,5}. I want to pick up 2 numbers randomly from S1 and 3 numbers from S2. Note ...

ongeveer 2 maanden ago | 1 answer | 0

Question

how to plot a 3D surface from N by 3 matrix

I have a matrix with dimensions N by 3, for example 100 rows and 3 columns. Each row correspondds to the 3D location of a point...

ongeveer 2 maanden ago | 2 answers | 0

Answered

how to construct a cell array from another cell array

Hi Adam. Attached is the cell array allPaths_service. I also created a cell array DD which has two possible combinations from al...

how to construct a cell array from another cell array

Hi Adam. Attached is the cell array allPaths_service. I also created a cell array DD which has two possible combinations from al...

ongeveer 2 maanden ago | 0

Question

create all possible combinations of vectors stored in a cell array

I have an array like this, i.e., it has two cells (we could have more cells) and the size of the first cell is 3 by N (length of...

2 maanden ago | 0 answers | 0

Question

how to construct a cell array from another cell array

I have a cell array with a variable number of cells and a variable number of elements within each cell. For instance, it could b...

2 maanden ago | 2 answers | 0

Question

how to sum elements of a cell array

I have a cell array V={[1;2;3;4],[5;6;7;8]}, I want to do a summation as follows [1+5;2+6;3+7;4+8]. I need the result to be in ...

2 maanden ago | 1 answer | 0

Question

pick up elements from a cell array and the result must be a cell array

I want to pick up all elements of a cell array except the last element. When I do V{1:end-1}, the result seems not to be a cell...

2 maanden ago | 2 answers | 0

Question

how to multiply each element of a cell array by a different scalar

I have a cell array V={[1 2 3;4 5 6],[0 0 0;1 2 9],[0 9 3;2 4 6]} and a vector a=[2 3 4]. I want to multiply the first cell elem...

2 maanden ago | 1 answer | 0

Question

how to pick up all combination of numbers from multiple vectors

I have a number of vectors, probably with different lengths, e.g., a=[1 2 3], b=[4 5 6 7] and c=[8 9 10 11 12]. From a, b and c ...

2 maanden ago | 4 answers | 0

Question

How to import a text file into matlab

I have a text file "attached" and I would like to import it to matlab. The file ia arranged into 3 columns and each of three col...

ongeveer een jaar ago | 1 answer | 0