How we can do the matrix and vector in vector form?
2 次查看(过去 30 天)
显示 更早的评论
clc;
clear all ;
close all;
format long g;
%% developing the function for the reverse in the vector concate and reverse it
A = [1;2;3]
B = [4 5 6;8 9 11]
[numRows,numCols] = size(B)
%% new vector will be vector form
C = vertcat(A,[B])
回答(3 个)
Dyuman Joshi
2023-12-13
3 个评论
Dyuman Joshi
2023-12-13
编辑:Dyuman Joshi
2023-12-13
That's a good start.
Now, use indexing to split the data, and reverse the steps of method 1.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!