MATLAB Answers

relationship between 2 matrix

1 view (last 30 days)
ha ha
ha ha on 13 Apr 2018
Answered: Matt J on 13 Apr 2018
A, B is matrix:
How to find matrix C as follow?
C=[1;[];3;[];5;6;[];8;[]];%the location of matrix B from A will be replaced by [] value

Accepted Answer

More Answers (1)

Matt J
Matt J on 13 Apr 2018
If you mean that [] actually must reside in those spots, it can only be done with a cell array


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!