Question


Filtering the Content of an Array
Suppose I have an array, arr with contents as follow: A B C D 1 3 2 3 1 4 1 2 ...

11 years ago | 1 answer | 0

1

answer

Question


Unique Rows in Cell Array
Suppose my problem requires me to use a cell array and the content is as such: (Please forgive my bad coding method. I just want...

11 years ago | 1 answer | 1

1

answer

Question


Generating a number with specific number of times.
Is there any better way to perform these in matlab? eg: i) Generating a number with specific number of times. a=[1 2 3...

11 years ago | 1 answer | 0

1

answer

Question


Indexing Based On Cell Array
randvar=cell(50,1); for h=1:50 randvar{h}=zeros(10,4); randvar{h}(:,1)=randi(10,10,1); randvar{...

11 years ago | 1 answer | 0

1

answer

Question


Of Cell Arrays & Sort
Greetings, for i=1:5 x{i}=i end for j=1:7 y{j}=j end merge_twocell = [x y] Now say I ...

11 years ago | 1 answer | 0

1

answer

Question


Cell Arrays Graph Plot
Thank you for your attention. Kindly refer to the code excerpt. (It's the most concise version of code that I have written) ...

11 years ago | 1 answer | 0

1

answer

Question


Plotting a simple line graph from cell array
Greetings, I am trying to plot a 2D-line graph from the contents of a cell array but I am not able to achieve it. A simple code ...

11 years ago | 1 answer | 0

1

answer

Question


Transforming Result to Meaningful Information
I have a 5x4 cell array with contents as such:- 14 2 5 10 27 1 2 3 10 2 9 4 45 5 9 9 2 1 4 10 I then impor...

12 years ago | 2 answers | 0

2

answers

Question


Transforming Result to Meaningful Information
Suppose I have a cell array as such:- a=cell(5,1); for i=1:5 a{i}=i end I have an excel file with 2 col...

12 years ago | 1 answer | 0

1

answer

Question


Stopwatch
I'm using the function tic and toc to measure the duration of an evaluation and I get *1.425484891851347e+03* as my value. Ho...

12 years ago | 2 answers | 0

2

answers

Question


Alternative to cell2mat
I have a cell array, f with contents in it. Is there a way to sort the contents of the cell array using *[B,IX]=sort*(f) ...

12 years ago | 2 answers | 0

2

answers

Question


For-Loop Algorithm
Can anybody help me with this? A = cell(10,1) %Cell Array with 10 Rows and 1 Column B is another cell array with contents...

12 years ago | 2 answers | 0

2

answers

Question


Retrieving Arrays
Suppose I have 4 cell arrays with 4 matrices in each cell array; A{1}=[1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4; 4 8 12 16] ...

12 years ago | 1 answer | 0

1

answer

Question


Variable Conversion
for i=1:10 A=zeros(100,4); A(:,1)=randi(100,100,1) %Course(1) A(:,2)=randi(5,100,1) %Day(2) A(:,3)=randi(1...

12 years ago | 1 answer | 0

1

answer

Question


Adding Penalty for Violation
I have this code snippet that generates a matrix with the notation of chr(:,:,i) for i=1:10 A=zeros(100,4); ...

12 years ago | 1 answer | 0

1

answer

Question


Finding Duplicate Values per Column
Greetings, suppose *Column* A has these values - 7 18 27 42 *65* 49 54 *65* 78 82 8...

12 years ago | 5 answers | 2

5

answers