How we can do the matrix and vector in vector form?
3 ビュー (過去 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])
採用された回答
その他の回答 (2 件)
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 で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!