MATLAB Answers

0

hi every body , i need help plz to make this

Asked by mina massoud on 8 Apr 2019
Latest activity Edited by Rik
on 8 Apr 2019
clear all
clc
A=cell(300,100);
B=cell(300,100);
for i=1:300
for j=1:100
A{i,j}=10*randn(2,8);
B{i,j}=10*randn(2,8);
end
end
now i have an array cell for A and B of 300x100 where each element is a matrix 2x8 for A and B , now what i need is
for the i=1 and j=1 i have a matrix 2x8 for cell A and a matrix 2x8 for cell B , i need the minimum value of vector column betwen A and B and take this column and put it % in cell C for i=1 and j=1
where C also is a cell matrix 300x100 that each matrix of the cell C is 2x8 that continen the minimum vector column between A and B
and so on till i=300 and j=100
thank u very much

  1 Comment

What have you tried so far? Have a read here (or here for more general advice). It will greatly improve your chances of getting an answer.

Sign in to comment.

Tags

No tags entered yet.

Products


Release

R2018b

0 Answers